载入中...
搜索中...
未找到
eve::procgen::TextureGenContext结构体 参考

#include <TextureRecipe.h>

静态 Public 成员函数

static TextureGenContext fromParams (const Params &params)
 

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.h40 行定义.

成员函数说明

◆ fromParams()

类成员变量说明

◆ colors

int eve::procgen::TextureGenContext::colors = 6

在文件 TextureRecipe.h46 行定义.

被这些函数引用 fromParams().

◆ height

int eve::procgen::TextureGenContext::height = 64

在文件 TextureRecipe.h42 行定义.

被这些函数引用 eve::procgen::fillHeightField() , 以及 fromParams().

◆ octaves

int eve::procgen::TextureGenContext::octaves = 4

在文件 TextureRecipe.h45 行定义.

被这些函数引用 fromParams().

◆ pixelSize

int eve::procgen::TextureGenContext::pixelSize = 1

在文件 TextureRecipe.h47 行定义.

被这些函数引用 fromParams().

◆ scale

float eve::procgen::TextureGenContext::scale = 4.f

在文件 TextureRecipe.h44 行定义.

被这些函数引用 eve::procgen::fillHeightField() , 以及 fromParams().

◆ seamless

bool eve::procgen::TextureGenContext::seamless = true

在文件 TextureRecipe.h48 行定义.

被这些函数引用 eve::procgen::fillHeightField() , 以及 fromParams().

◆ seed

uint32_t eve::procgen::TextureGenContext::seed = 1

在文件 TextureRecipe.h43 行定义.

被这些函数引用 eve::procgen::fillHeightField() , 以及 fromParams().

◆ warpAmp

float eve::procgen::TextureGenContext::warpAmp = 1.f

在文件 TextureRecipe.h49 行定义.

被这些函数引用 fromParams().

◆ width

int eve::procgen::TextureGenContext::width = 64

在文件 TextureRecipe.h41 行定义.

被这些函数引用 eve::procgen::fillHeightField() , 以及 fromParams().


该结构体的文档由以下文件生成: