#include <UnifiedAttachmentDescriptor.h>
Public Member Functions | |
UnifiedAttachmentDescriptor (const BufferDescriptor &bufferDescriptor) | |
UnifiedAttachmentDescriptor (const ImageDescriptor &imageDescriptor) | |
HashValue64 | GetHash (HashValue64 seed=HashValue64{ 0 }) const |
Public Attributes | |
AttachmentType | m_type = AttachmentType::Uninitialized |
Differentiates between an image, buffer and resolve attachment. | |
union { | |
BufferDescriptor m_buffer | |
ImageDescriptor m_image | |
}; | |
A unified attachment descriptor used to store either an image or a buffer descriptor. Used primarily to simplify pass attachment logic while supporting both attachment types.