载入中...
搜索中...
未找到
eve::procgen::EverydayMaterials类 参考

CPU material factory with bounded, intuitive parameters. @ownership Returned sets uniquely own their maps. Inputs are borrowed only for the call. @thread Any thread with distinct inputs; no callbacks, registry access or retained pointers. 更多...

#include <EverydayMaterials.h>

静态 Public 成员函数

static eve::Result< std::unique_ptr< PbrTextureSet > > generate (EverydayMaterial family, const Params &params)
 Generate six aligned maps and optical surface metadata.
 
static eve::Result< std::unique_ptr< PbrTextureSet > > wood (const Params &params)
 Generate wood using the shared pipeline.
 
static eve::Result< std::unique_ptr< PbrTextureSet > > metal (const Params &params)
 Generate metal using the shared pipeline.
 
static eve::Result< std::unique_ptr< PbrTextureSet > > rubber (const Params &params)
 Generate rubber using the shared pipeline.
 
static eve::Result< std::unique_ptr< PbrTextureSet > > cloth (const Params &params)
 Generate cloth using the shared pipeline.
 
static eve::Result< std::unique_ptr< PbrTextureSet > > plastic (const Params &params)
 Generate plastic using the shared pipeline.
 
static eve::Result< std::unique_ptr< PbrTextureSet > > steel (const Params &params)
 Generate steel using the shared pipeline.
 
static eve::Result< std::unique_ptr< PbrTextureSet > > glass (const Params &params)
 Generate glass using the shared pipeline.
 
static eve::Result< std::unique_ptr< PbrTextureSet > > paper (const Params &params)
 Generate paper using the shared pipeline.
 
static eve::Result< std::unique_ptr< PbrTextureSet > > aluminum (const Params &params)
 Generate aluminum using the shared pipeline.
 
static eve::Result< std::unique_ptr< PbrTextureSet > > castIron (const Params &params)
 Generate castiron using the shared pipeline.
 
static eve::Result< std::unique_ptr< PbrTextureSet > > cement (const Params &params)
 Generate cement using the shared pipeline.
 
static eve::Result< std::unique_ptr< PbrTextureSet > > paint (const Params &params)
 Generate paint using the shared pipeline.
 
static eve::Result< std::unique_ptr< PbrTextureSet > > marble (const Params &params)
 Generate marble using the shared pipeline.
 

详细描述

CPU material factory with bounded, intuitive parameters. @ownership Returned sets uniquely own their maps. Inputs are borrowed only for the call. @thread Any thread with distinct inputs; no callbacks, registry access or retained pointers.

备注
Same seed and effective parameters give identical bytes on one toolchain; floating-point noise may differ across platforms. No simulation time or global RNG.

在文件 EverydayMaterials.h 第 30 行定义.

成员函数说明

◆ aluminum()

static eve::Result< std::unique_ptr< PbrTextureSet > > eve::procgen::EverydayMaterials::aluminum ( const Params &  params)
inlinestatic

Generate aluminum using the shared pipeline.

参数
paramsSee generate().
返回
Owned maps or structured diagnostic. @cost Expensive per pixel; cache the result.

在文件 EverydayMaterials.h 第 84 行定义.

引用了 params.

◆ castIron()

static eve::Result< std::unique_ptr< PbrTextureSet > > eve::procgen::EverydayMaterials::castIron ( const Params &  params)
inlinestatic

Generate castiron using the shared pipeline.

参数
paramsSee generate().
返回
Owned maps or structured diagnostic. @cost Expensive per pixel; cache the result.

在文件 EverydayMaterials.h 第 89 行定义.

引用了 params.

◆ cement()

static eve::Result< std::unique_ptr< PbrTextureSet > > eve::procgen::EverydayMaterials::cement ( const Params &  params)
inlinestatic

Generate cement using the shared pipeline.

参数
paramsSee generate().
返回
Owned maps or structured diagnostic. @cost Expensive per pixel; cache the result.

在文件 EverydayMaterials.h 第 94 行定义.

引用了 params.

◆ cloth()

static eve::Result< std::unique_ptr< PbrTextureSet > > eve::procgen::EverydayMaterials::cloth ( const Params &  params)
inlinestatic

Generate cloth using the shared pipeline.

参数
paramsSee generate().
返回
Owned maps or structured diagnostic. @cost Expensive per pixel; cache the result.

在文件 EverydayMaterials.h 第 59 行定义.

引用了 params.

◆ generate()

eve::Result< std::unique_ptr< PbrTextureSet > > eve::procgen::EverydayMaterials::generate ( EverydayMaterial  family,
const Params &  params 
)
static

◆ glass()

static eve::Result< std::unique_ptr< PbrTextureSet > > eve::procgen::EverydayMaterials::glass ( const Params &  params)
inlinestatic

Generate glass using the shared pipeline.

参数
paramsSee generate().
返回
Owned maps or structured diagnostic. @cost Expensive per pixel; cache the result.

在文件 EverydayMaterials.h 第 74 行定义.

引用了 params.

◆ marble()

static eve::Result< std::unique_ptr< PbrTextureSet > > eve::procgen::EverydayMaterials::marble ( const Params &  params)
inlinestatic

Generate marble using the shared pipeline.

参数
paramsSee generate().
返回
Owned maps or structured diagnostic. @cost Expensive per pixel; cache the result.

在文件 EverydayMaterials.h 第 104 行定义.

引用了 params.

◆ metal()

static eve::Result< std::unique_ptr< PbrTextureSet > > eve::procgen::EverydayMaterials::metal ( const Params &  params)
inlinestatic

Generate metal using the shared pipeline.

参数
paramsSee generate().
返回
Owned maps or structured diagnostic. @cost Expensive per pixel; cache the result.

在文件 EverydayMaterials.h 第 49 行定义.

引用了 params.

◆ paint()

static eve::Result< std::unique_ptr< PbrTextureSet > > eve::procgen::EverydayMaterials::paint ( const Params &  params)
inlinestatic

Generate paint using the shared pipeline.

参数
paramsSee generate().
返回
Owned maps or structured diagnostic. @cost Expensive per pixel; cache the result.

在文件 EverydayMaterials.h 第 99 行定义.

引用了 params.

◆ paper()

static eve::Result< std::unique_ptr< PbrTextureSet > > eve::procgen::EverydayMaterials::paper ( const Params &  params)
inlinestatic

Generate paper using the shared pipeline.

参数
paramsSee generate().
返回
Owned maps or structured diagnostic. @cost Expensive per pixel; cache the result.

在文件 EverydayMaterials.h 第 79 行定义.

引用了 params.

◆ plastic()

static eve::Result< std::unique_ptr< PbrTextureSet > > eve::procgen::EverydayMaterials::plastic ( const Params &  params)
inlinestatic

Generate plastic using the shared pipeline.

参数
paramsSee generate().
返回
Owned maps or structured diagnostic. @cost Expensive per pixel; cache the result.

在文件 EverydayMaterials.h 第 64 行定义.

引用了 params.

◆ rubber()

static eve::Result< std::unique_ptr< PbrTextureSet > > eve::procgen::EverydayMaterials::rubber ( const Params &  params)
inlinestatic

Generate rubber using the shared pipeline.

参数
paramsSee generate().
返回
Owned maps or structured diagnostic. @cost Expensive per pixel; cache the result.

在文件 EverydayMaterials.h 第 54 行定义.

引用了 params.

◆ steel()

static eve::Result< std::unique_ptr< PbrTextureSet > > eve::procgen::EverydayMaterials::steel ( const Params &  params)
inlinestatic

Generate steel using the shared pipeline.

参数
paramsSee generate().
返回
Owned maps or structured diagnostic. @cost Expensive per pixel; cache the result.

在文件 EverydayMaterials.h 第 69 行定义.

引用了 params.

◆ wood()

static eve::Result< std::unique_ptr< PbrTextureSet > > eve::procgen::EverydayMaterials::wood ( const Params &  params)
inlinestatic

Generate wood using the shared pipeline.

参数
paramsSee generate().
返回
Owned maps or structured diagnostic. @cost Expensive per pixel; cache the result.

在文件 EverydayMaterials.h 第 44 行定义.

引用了 params.


该类的文档由以下文件生成: