engine
 
载入中...
搜索中...
未找到
Public 类型 | 静态 Public 成员函数 | 静态 Public 属性 | 所有成员列表
FShaderPermutationBool结构体 参考

Defines at compile time a boolean permutation dimension. 更多...

#include <ShaderPermutation.h>

Public 类型

using Type = bool
 Setup the dimension's type in permutation domain as boolean.
 

静态 Public 成员函数

static Type FromDimensionValueId (int32 PermutationId)
 Converts dimension's value id to dimension boolean value (exact reciprocal of ToDimensionValueId).
 
static bool ToDefineValue (Type E)
 Pass down a boolean to FShaderCompilerEnvironment::SetDefine().
 
static int32 ToDimensionValueId (Type E)
 Converts dimension boolean value to dimension's value id.
 

静态 Public 属性

static constexpr bool IsMultiDimensional = false
 Setup the dimension as non multi-dimensional, so that the ModifyCompilationEnvironement's define can conventily be set up in SHADER_PERMUTATION_BOOL.
 
static constexpr int32 PermutationCount = 2
 Setup the dimension's number of permutation.
 

详细描述

Defines at compile time a boolean permutation dimension.


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