Template to transcode some meta data information for a type <TypeParameter> not specific to shader parameters API. 更多...
#include <ShaderParameterMacros.h>
Public 类型 | |
| using | TAlignedType = TypeParameter |
| Type that is actually alligned. | |
静态 Public 属性 | |
| static constexpr int32 | Alignment = alignof(TypeParameter) |
| Defines the alignment of the elements in bytes. | |
| static constexpr EUniformBufferBaseType | BaseType = UBMT_INVALID |
| Defines what the type actually is. | |
| static constexpr bool | bIsStoredInConstantBuffer = true |
| Defines whether this element is stored in constant buffer or not. 更多... | |
| static constexpr int32 | NumElements = 0 |
| Defines the number of elements in an array fashion. 更多... | |
| static constexpr int32 | NumRows = 1 |
| Defines the number rows and columns for vector or matrix based data typed. | |
Template to transcode some meta data information for a type <TypeParameter> not specific to shader parameters API.
|
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 |
Defines the number of elements in an array fashion.
0 means this is not a TStaticArray, which therefor means there is 1 element.