Navigation
API > API/Runtime > API/Runtime/RenderCore
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/ShaderPermutation.h |
| Include | #include "ShaderPermutation.h" |
Syntax
template<typename TDimension, typename... Ts>
struct TShaderPermutationDomain< TDimension, Ts... >
Functions
| Type | Name | Description | |
|---|---|---|---|
| Type | FromDimensionValueId
(
const int32 PermutationId |
Returns the permutation domain from the unique ID. | |
| const DimensionToGet::Type & | Get () |
Get dimension's value. | |
| void | ModifyCompilationEnvironment
(
FShaderCompilerEnvironment& OutEnvironment |
Modify the shader's compilation environment. | |
| void | Set
(
typename DimensionToSet::Type Value |
Set dimension's value. | |
| int32 | |||
| int32 | ToDimensionValueId
(
const Type& PermutationVector |
Converts domain permutation vector to domain's value id. | |
| Constructors. | |||
TShaderPermutationDomain
(
int32 PermutationId |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const Type& Other |
Test if not equal. | |
| bool | operator==
(
const Type& Other |
Test if equal. |
Typedefs
| Name | Description |
|---|---|
| Super | Parent type in the variadic template to reduce code. |
| Type | Setup the dimension's type in permutation domain as itself so that a permutation domain can be used as a dimension of another domain. |
Constants
| Name | Description |
|---|---|
| IsMultiDimensional | Define a domain as a multidimensional dimension so that ModifyCompilationEnvironment() is used. |
| PermutationCount | Total number of permutation within the domain. |