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

Defines at compile time a permutation dimension made of specific int32. 更多...

#include <ShaderPermutation.h>

Public 类型

using Type = int32
 Setup the dimension's type in permutation domain as integer.
 

静态 Public 成员函数

static Type FromDimensionValueId (int32 PermutationId)
 Converts dimension's value id to dimension's integer value (exact reciprocal of ToDimensionValueId).
 
static int32 ToDimensionValueId (Type E)
 Converts dimension's integer value to dimension's value id, bu in this case fail because the dimension value was wrong.
 

静态 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_SPARSE_INT.
 
static constexpr int32 PermutationCount = 0
 Setup the dimension's number of permutation.
 

详细描述

template<int32... Ts>
struct TShaderPermutationSparseInt< Ts >

Defines at compile time a permutation dimension made of specific int32.


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