![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ShaderParameterMacros.h>
Public Types | |
| using | TAlignedType = TypeParameter |
| using | TInstancedType = TypeParameter |
Static Public Member Functions | |
| static const FShaderParametersMetadata * | GetStructMetadata () |
Static Public Attributes | |
| static constexpr EUniformBufferBaseType | BaseType = UBMT_INVALID |
| static constexpr int32 | NumRows = 1 |
| static constexpr int32 | NumColumns = 1 |
| static constexpr int32 | NumElements = 0 |
| static constexpr int32 | Alignment = alignof(TypeParameter) |
| static constexpr bool | bIsStoredInConstantBuffer = true |
Template to transcode some meta data information for a type <TypeParameter> not specific to shader parameters API.
| using TShaderParameterTypeInfo< TypeParameter >::TAlignedType = TypeParameter |
Type that is actually alligned.
| using TShaderParameterTypeInfo< TypeParameter >::TInstancedType = TypeParameter |
Type that has a multiple of 4 components.
|
inlinestatic |
|
staticconstexpr |
Defines the alignment of the elements in bytes.
|
staticconstexpr |
Defines what the type actually is.
|
staticconstexpr |
Defines whether this element is stored in constant buffer or not. This informations is usefull to ensure at compile time everything in the structure get defined at the end of the structure, to reduce as much as possible the size of the constant buffer.
|
staticconstexpr |
|
staticconstexpr |
Defines the number of elements in an array fashion. 0 means this is not a TStaticArray, which therefor means there is 1 element.
|
staticconstexpr |
Defines the number rows and columns for vector or matrix based data typed.