![]() |
XII Release 0.1.0
|
This describes the render pass attachment creation description. More...
#include <RenderPass.h>
Public Member Functions | |
XII_DECLARE_POD_TYPE () | |
![]() | |
xiiHashableStruct (const xiiHashableStruct< xiiGALRenderPassAttachmentDescription > &other) | |
void | operator= (const xiiHashableStruct< xiiGALRenderPassAttachmentDescription > &other) |
XII_ALWAYS_INLINE constexpr bool | operator== (const xiiHashableStruct< xiiGALRenderPassAttachmentDescription > &rhs) const=default |
xiiUInt32 | CalculateHash () const |
Calculates the 32 bit hash of the struct and returns it. | |
Public Attributes | |
xiiEnum< xiiGALResourceFormat > | m_Format = xiiGALResourceFormat::Unknown |
The format of the texture view that will be used for the attachment. The default is xiiGALResourceFormat::Unknown. | |
xiiUInt8 | m_uiSampleCount = 0U |
The number of samples in the texture. The default is 0. | |
xiiEnum< xiiGALAttachmentLoadOperation > | m_LoadOperation = xiiGALAttachmentLoadOperation::Load |
The load operation that specifies how the contents of color and depth components of the attachment are treated at the beginning of the sub pass where it is first used. The default is xiiGALAttachmentLoadOperation::Load. | |
xiiEnum< xiiGALAttachmentStoreOperation > | m_StoreOperation = xiiGALAttachmentStoreOperation::Store |
The store operation how the contents of color and depth components of the attachment are treated at the end of the sub pass where it is last used. The default is xiiGALAttachmentStoreOperation::Store. | |
xiiEnum< xiiGALAttachmentLoadOperation > | m_StencilLoadOperation = xiiGALAttachmentLoadOperation::Load |
The load operation that specifies how the contents of the stencil component of the attachment is treated at the beginning of the sub pass where it is first used. This value is ignored when the format does not have stencil component. The default is xiiGALAttachmentLoadOperation::Load. | |
xiiEnum< xiiGALAttachmentStoreOperation > | m_StencilStoreOperation = xiiGALAttachmentStoreOperation::Store |
The store operation how the contents of the stencil component of the attachment is treated at the end of the sub pass where it is last used. This value is ignored when the format does not have stencil component. The default is xiiGALAttachmentStoreOperation::Store. | |
xiiBitflags< xiiGALResourceStateFlags > | m_InitialStateFlags = xiiGALResourceStateFlags::Unknown |
The state the attachment texture sub-resource will be in when a render pass instance begins. The default is xiiGALResourceStateFlags::Unknown. | |
xiiBitflags< xiiGALResourceStateFlags > | m_FinalStateFlags = xiiGALResourceStateFlags::Unknown |
The state the attachment texture sub-resource will be transitioned to when a render pass instance ends. The default is xiiGALResourceStateFlags::Unknown. | |
This describes the render pass attachment creation description.