UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TShaderPermutationSparseInt< Ts > Struct Template Reference

#include <ShaderPermutation.h>

Public Types

using Type = int32
 

Static Public Member Functions

static int32 ToDimensionValueId (Type E)
 
static Type FromDimensionValueId (int32 PermutationId)
 

Static Public Attributes

static constexpr int32 PermutationCount = 0
 
static constexpr bool IsMultiDimensional = false
 

Detailed Description

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

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

Member Typedef Documentation

◆ Type

template<int32... Ts>
using TShaderPermutationSparseInt< Ts >::Type = int32

Setup the dimension's type in permutation domain as integer.

Member Function Documentation

◆ FromDimensionValueId()

template<int32... Ts>
static Type TShaderPermutationSparseInt< Ts >::FromDimensionValueId ( int32  PermutationId)
inlinestatic

Converts dimension's value id to dimension's integer value (exact reciprocal of ToDimensionValueId).

◆ ToDimensionValueId()

template<int32... Ts>
static int32 TShaderPermutationSparseInt< Ts >::ToDimensionValueId ( Type  E)
inlinestatic

Converts dimension's integer value to dimension's value id, bu in this case fail because the dimension value was wrong.

Member Data Documentation

◆ IsMultiDimensional

template<int32... Ts>
constexpr bool TShaderPermutationSparseInt< Ts >::IsMultiDimensional = false
staticconstexpr

Setup the dimension as non multi-dimensional, so that the ModifyCompilationEnvironement's define can conventily be set up in SHADER_PERMUTATION_SPARSE_INT.

◆ PermutationCount

template<int32... Ts>
constexpr int32 TShaderPermutationSparseInt< Ts >::PermutationCount = 0
staticconstexpr

Setup the dimension's number of permutation.


The documentation for this struct was generated from the following file: