载入中...
搜索中...
未找到
CableTextures.h
浏览该文件的文档.
1#pragma once
2
3#include "common/Export.h"
4#include "common/Result.h"
5#include "procgen/Params.h"
6
7#include <memory>
8#include <string>
9
10namespace eve::image {
11class ImageData;
12}
13
14namespace eve::procgen {
15
16class TextureRecipeRegistry;
17class PbrRecipeRegistry;
18struct PbrTextureSet;
19
25 const Params& params);
26
32 const Params& params);
33
39 const Params& params);
40
46 const Params& params);
47
53 const Params& params);
54
60 const Params& params);
61
63EVENGINE_API_DOMAINS void registerCableTextureRecipes(TextureRecipeRegistry& registry);
64
66EVENGINE_API_DOMAINS void registerCablePbrRecipes(PbrRecipeRegistry& registry);
67
68} // namespace eve::procgen
#define EVENGINE_API_DOMAINS
Definition Export.h:110
Move-only, checked operation results for the common layer.
Move-only operation result carrying either a value or Status.
Definition Result.h:155
std::vector< ParamSpec > params
void registerCableTextureRecipes(TextureRecipeRegistry &registry)
Register tex.cable.steel / tex.chain.iron / tex.rope.hemp.
eve::Result< std::unique_ptr< image::ImageData > > generateIronChainTexture(const Params &params)
Generate a parameterized iron / rusted metal albedo (tex.chain.iron). @ownership On success the calle...
void registerCablePbrRecipes(PbrRecipeRegistry &registry)
Register pbr.cable.steel / pbr.chain.iron / pbr.rope.hemp.
eve::Result< std::unique_ptr< image::ImageData > > generateSteelCableTexture(const Params &params)
Generate a parameterized steel-cable braid albedo (tex.cable.steel). @ownership On success the caller...
eve::Result< std::unique_ptr< PbrTextureSet > > generateHempRopePbr(const Params &params)
Full PBR map set for hemp rope (pbr.rope.hemp). @ownership On success the caller exclusively owns the...
eve::Result< std::unique_ptr< PbrTextureSet > > generateIronChainPbr(const Params &params)
Full PBR map set for iron chain metal (pbr.chain.iron). @ownership On success the caller exclusively ...
eve::Result< std::unique_ptr< PbrTextureSet > > generateSteelCablePbr(const Params &params)
Full PBR map set for steel cable (pbr.cable.steel). @ownership On success the caller exclusively owns...
eve::Result< std::unique_ptr< image::ImageData > > generateHempRopeTexture(const Params &params)
Generate a parameterized hemp-rope fiber albedo (tex.rope.hemp). @ownership On success the caller exc...