载入中...
搜索中...
未找到
#include "procgen/Params.h"#include "procgen/texture/TextureRecipe.h"#include <cstdint>#include <functional>#include <string>#include <unordered_map>#include <vector>类 | |
| struct | eve::procgen::PbrTextureSet |
| Full metallic-roughness PBR map set. All maps are caller-owned; call destroy() (or delete each pointer) when done. Maps are derived from one shared displacement field so albedo, normal, height, roughness, metallic and AO line up pixel-for-pixel. 更多... | |
| class | eve::procgen::PbrRecipeRegistry |
命名空间 | |
| namespace | eve |
| namespace | eve::image |
| namespace | eve::procgen |
类型定义 | |
| using | eve::procgen::PbrRecipeFn = std::function< PbrTextureSet *(const Params ¶ms, std::string &error)> |
| Recipe returns a full PBR set (caller owns), or nullptr on failure. | |
函数 | |
| PbrTextureSet * | eve::procgen::generatePbrSet (const TextureRecipeDef &def, const Params ¶ms, std::string &error) |
| Build a full PBR set from a texture definition. Caller owns the result. | |
| image::ImageData * | eve::procgen::grayscaleImage (const std::vector< float > &values, int w, int h) |
| Build a grayscale RGBA8 image from per-pixel values in [0,1]. Caller owns. | |