![]() |
XII Release 0.1.0
|
This describes the pipeline resource information. More...
#include <PipelineResourceSignature.h>
Public Member Functions | |
XII_DECLARE_POD_TYPE () | |
![]() | |
xiiHashableStruct (const xiiHashableStruct< xiiGALPipelineResourceDescription > &other) | |
void | operator= (const xiiHashableStruct< xiiGALPipelineResourceDescription > &other) |
XII_ALWAYS_INLINE constexpr bool | operator== (const xiiHashableStruct< xiiGALPipelineResourceDescription > &rhs) const=default |
xiiUInt32 | CalculateHash () const |
Calculates the 32 bit hash of the struct and returns it. | |
Public Attributes | |
xiiHashedString | m_sName |
The resource name in the shader. | |
xiiBitflags< xiiGALShaderType > | m_ShaderStages = xiiGALShaderType::Unknown |
xiiUInt32 | m_uiArraySize = 0U |
The resource array size (must be set to 1 for non-array resources). The default is 0. | |
xiiUInt32 | m_uiBindSet = 0U |
The resource bind set, for descriptor sets. | |
xiiUInt32 | m_uiBindSlot = 0U |
The resource bind slot in the bind set. | |
xiiEnum< xiiGALShaderResourceType > | m_ResourceType = xiiGALShaderResourceType::Unknown |
The resource type, see xiiGALShaderResourceType. The default is xiiGALShaderResourceType::Unknown. | |
xiiBitflags< xiiGALPipelineResourceFlags > | m_PipelineResourceFlags = xiiGALPipelineResourceFlags::None |
Special resource flags, see xiiGALPipelineResourceFlags. The default is xiiGALPipelineResourceFlags::None. | |
This describes the pipeline resource information.
xiiBitflags<xiiGALShaderType> xiiGALPipelineResourceDescription::m_ShaderStages = xiiGALShaderType::Unknown |
The shader stages that this resource applies to. When multiple shader stages are specified, all stages will share the same resource. The default is xiiGALShaderType::Unknown.
\remarks There may be multiple resources with the same name in different shader stages, but the stages specified for different resources with the same name must not overlap.