UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TShaderParameterStructTypeInfo< StructType[InNumElements]> Struct Template Reference

#include <ShaderParameterMacros.h>

Public Types

using TAlignedType = TStaticArray< StructType, InNumElements >
 

Static Public Member Functions

static const FShaderParametersMetadataGetStructMetadata ()
 

Static Public Attributes

static constexpr int32 NumRows = 1
 
static constexpr int32 NumColumns = 1
 
static constexpr int32 NumElements = InNumElements
 
static constexpr int32 Alignment = SHADER_PARAMETER_STRUCT_ALIGNMENT
 
static constexpr bool bIsStoredInConstantBuffer = true
 

Member Typedef Documentation

◆ TAlignedType

template<typename StructType , size_t InNumElements>
using TShaderParameterStructTypeInfo< StructType[InNumElements]>::TAlignedType = TStaticArray<StructType, InNumElements>

Member Function Documentation

◆ GetStructMetadata()

template<typename StructType , size_t InNumElements>
static const FShaderParametersMetadata * TShaderParameterStructTypeInfo< StructType[InNumElements]>::GetStructMetadata ( )
inlinestatic

Member Data Documentation

◆ Alignment

template<typename StructType , size_t InNumElements>
constexpr int32 TShaderParameterStructTypeInfo< StructType[InNumElements]>::Alignment = SHADER_PARAMETER_STRUCT_ALIGNMENT
staticconstexpr

◆ bIsStoredInConstantBuffer

template<typename StructType , size_t InNumElements>
constexpr bool TShaderParameterStructTypeInfo< StructType[InNumElements]>::bIsStoredInConstantBuffer = true
staticconstexpr

◆ NumColumns

template<typename StructType , size_t InNumElements>
constexpr int32 TShaderParameterStructTypeInfo< StructType[InNumElements]>::NumColumns = 1
staticconstexpr

◆ NumElements

template<typename StructType , size_t InNumElements>
constexpr int32 TShaderParameterStructTypeInfo< StructType[InNumElements]>::NumElements = InNumElements
staticconstexpr

◆ NumRows

template<typename StructType , size_t InNumElements>
constexpr int32 TShaderParameterStructTypeInfo< StructType[InNumElements]>::NumRows = 1
staticconstexpr

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