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

#include <ShaderParameterMacros.h>

Public Types

using TAlignedType = TStaticArray< std::conditional_t< Alignment==alignof(T), T, UE::Core::TAlignedElement< T, Alignment > >, InNumElements >
 
using TInstancedType = T
 

Static Public Member Functions

static const FShaderParametersMetadataGetStructMetadata ()
 

Static Public Attributes

static constexpr EUniformBufferBaseType BaseType = TShaderParameterTypeInfo<T>::BaseType
 
static constexpr int32 NumRows = TShaderParameterTypeInfo<T>::NumRows
 
static constexpr int32 NumColumns = TShaderParameterTypeInfo<T>::NumColumns
 
static constexpr int32 NumElements = InNumElements
 
static constexpr int32 Alignment = SHADER_PARAMETER_ARRAY_ELEMENT_ALIGNMENT
 
static constexpr bool bIsStoredInConstantBuffer = TShaderParameterTypeInfo<T>::bIsStoredInConstantBuffer
 

Member Typedef Documentation

◆ TAlignedType

template<typename T , size_t InNumElements>
using TShaderParameterTypeInfo< T[InNumElements]>::TAlignedType = TStaticArray<std::conditional_t<Alignment == alignof(T), T, UE::Core::TAlignedElement<T, Alignment> >, InNumElements>

◆ TInstancedType

template<typename T , size_t InNumElements>
using TShaderParameterTypeInfo< T[InNumElements]>::TInstancedType = T

Member Function Documentation

◆ GetStructMetadata()

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

Member Data Documentation

◆ Alignment

template<typename T , size_t InNumElements>
constexpr int32 TShaderParameterTypeInfo< T[InNumElements]>::Alignment = SHADER_PARAMETER_ARRAY_ELEMENT_ALIGNMENT
staticconstexpr

◆ BaseType

template<typename T , size_t InNumElements>
constexpr EUniformBufferBaseType TShaderParameterTypeInfo< T[InNumElements]>::BaseType = TShaderParameterTypeInfo<T>::BaseType
staticconstexpr

◆ bIsStoredInConstantBuffer

template<typename T , size_t InNumElements>
constexpr bool TShaderParameterTypeInfo< T[InNumElements]>::bIsStoredInConstantBuffer = TShaderParameterTypeInfo<T>::bIsStoredInConstantBuffer
staticconstexpr

◆ NumColumns

template<typename T , size_t InNumElements>
constexpr int32 TShaderParameterTypeInfo< T[InNumElements]>::NumColumns = TShaderParameterTypeInfo<T>::NumColumns
staticconstexpr

◆ NumElements

template<typename T , size_t InNumElements>
constexpr int32 TShaderParameterTypeInfo< T[InNumElements]>::NumElements = InNumElements
staticconstexpr

◆ NumRows

template<typename T , size_t InNumElements>
constexpr int32 TShaderParameterTypeInfo< T[InNumElements]>::NumRows = TShaderParameterTypeInfo<T>::NumRows
staticconstexpr

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