#include <TextureRecipe.h>
静态 Public 成员函数 | |
| static TextureGenContext | fromParams (const Params ¶ms) |
Public 属性 | |
| int | width = 64 |
| int | height = 64 |
| uint32_t | seed = 1 |
| float | scale = 4.f |
| int | octaves = 4 |
| int | colors = 6 |
| int | pixelSize = 1 |
| bool | seamless = true |
| float | warpAmp = 1.f |
详细描述
在文件 TextureRecipe.h 第 40 行定义.
成员函数说明
◆ fromParams()
|
static |
在文件 TextureRecipe.cpp 第 41 行定义.
引用了 colors, eve::procgen::Params::getFloat(), eve::procgen::Params::getHeight(), eve::procgen::Params::getInt(), eve::procgen::Params::getSeed(), eve::procgen::Params::getWidth(), height, octaves, pixelSize, scale, seamless, seed, warpAmp , 以及 width.
被这些函数引用 eve::procgen::generatePbrSet().
类成员变量说明
◆ colors
| int eve::procgen::TextureGenContext::colors = 6 |
在文件 TextureRecipe.h 第 46 行定义.
被这些函数引用 fromParams().
◆ height
| int eve::procgen::TextureGenContext::height = 64 |
在文件 TextureRecipe.h 第 42 行定义.
被这些函数引用 eve::procgen::fillHeightField() , 以及 fromParams().
◆ octaves
| int eve::procgen::TextureGenContext::octaves = 4 |
在文件 TextureRecipe.h 第 45 行定义.
被这些函数引用 fromParams().
◆ pixelSize
| int eve::procgen::TextureGenContext::pixelSize = 1 |
在文件 TextureRecipe.h 第 47 行定义.
被这些函数引用 fromParams().
◆ scale
| float eve::procgen::TextureGenContext::scale = 4.f |
在文件 TextureRecipe.h 第 44 行定义.
被这些函数引用 eve::procgen::fillHeightField() , 以及 fromParams().
◆ seamless
| bool eve::procgen::TextureGenContext::seamless = true |
在文件 TextureRecipe.h 第 48 行定义.
被这些函数引用 eve::procgen::fillHeightField() , 以及 fromParams().
◆ seed
| uint32_t eve::procgen::TextureGenContext::seed = 1 |
在文件 TextureRecipe.h 第 43 行定义.
被这些函数引用 eve::procgen::fillHeightField() , 以及 fromParams().
◆ warpAmp
| float eve::procgen::TextureGenContext::warpAmp = 1.f |
在文件 TextureRecipe.h 第 49 行定义.
被这些函数引用 fromParams().
◆ width
| int eve::procgen::TextureGenContext::width = 64 |
在文件 TextureRecipe.h 第 41 行定义.
被这些函数引用 eve::procgen::fillHeightField() , 以及 fromParams().
该结构体的文档由以下文件生成:
- src/modules/procgen/texture/TextureRecipe.h
- src/modules/procgen/texture/TextureRecipe.cpp