![]() |
XII Release 0.1.0
|
This describes shader resource. More...
#include <ShaderByteCode.h>
Public Member Functions | |
XII_DECLARE_MEM_RELOCATABLE_TYPE () | |
![]() | |
xiiHashableStruct (const xiiHashableStruct< xiiGALShaderResourceDescription > &other) | |
void | operator= (const xiiHashableStruct< xiiGALShaderResourceDescription > &other) |
XII_ALWAYS_INLINE constexpr bool | operator== (const xiiHashableStruct< xiiGALShaderResourceDescription > &rhs) const=default |
xiiUInt32 | CalculateHash () const |
Calculates the 32 bit hash of the struct and returns it. | |
Public Attributes | |
xiiHashedString | m_sName |
The shader resource name. | |
xiiEnum< xiiGALShaderResourceType > | m_Type = xiiGALShaderResourceType::Unknown |
The shader resource type. The default is xiiGALShaderResourceType::Unknown. | |
xiiEnum< xiiGALShaderTextureType > | m_TextureType = xiiGALShaderTextureType::Unknown |
The shader resource texture type for Texture resources. The default is xiiGALShaderTextureType::Unknown. | |
xiiUInt32 | m_uiArraySize = 0U |
The array size. For a non-array resource this value should be 1. | |
xiiUInt32 | m_uiBindIndex = xiiInvalidIndex |
The resource binding index in the shader. | |
xiiUInt32 | m_uiDescriptorSet = xiiInvalidIndex |
The descriptor set to which this resource belongs to. | |
xiiBitflags< xiiGALShaderType > | m_ShaderStages = xiiGALShaderType::Unknown |
The shader stages to which this resource is bound. | |
xiiUInt32 | m_uiTotalSize = 0U |
For a resource with variables, the total size of the resource. | |
xiiDynamicArray< xiiGALShaderVariableDescription > | m_Variables |
An array of member variables for shader constant buffer, or push constants. | |
This describes shader resource.