Navigation
API > API/Runtime > API/Runtime/RenderCore
Inheritance Hierarchy
- TShaderPermutationInt
- FColorCorrectGenericPS::FTemperatureType
- FColorCorrectRegionMaterialPS::FShaderType
- FColorCorrectWindowMaterialPS::FShaderType
- FModifyAlphaSwizzleRgbaPS::FConversionOp
- FNiagaraDrawIndirectArgsGenCS::FSupportsTextureRW
- TOneColorPixelShaderMRT::TOneColorPixelShaderNumOutputs
References
| Module | RenderCore |
| Header | /Engine/Source/Runtime/RenderCore/Public/ShaderPermutation.h |
| Include | #include "ShaderPermutation.h" |
Syntax
template<typename TType, int32 TDimensionSize, int32 TFirstValue>
struct TShaderPermutationInt
Remarks
Defines at compile time a permutation dimension made of int32 from 0 to N -1.
Functions
| Type | Name | Description | |
|---|---|---|---|
| Type | FromDimensionValueId
(
int32 PermutationId |
Converts dimension's value id to dimension's integer value (exact reciprocal of ToDimensionValueId). | |
| int32 | ToDefineValue
(
Type E |
Pass down a int32 to FShaderCompilerEnvironment::SetDefine() even for contiguous enum classes. | |
| int32 | ToDimensionValueId
(
Type E |
Converts dimension's integer value to dimension's value id. |
Typedefs
| Name | Description |
|---|---|
| Type | Setup the dimension's type in permutation domain as integer. |
Constants
| Name | Description |
|---|---|
| IsMultiDimensional | Setup the dimension as non multi-dimensional, so that the ModifyCompilationEnvironement's define can conventily be set up in SHADER_PERMUTATION_INT. |
| MaxValue | |
| MinValue | Min and max values. |
| PermutationCount | Setup the dimension's number of permutation. |