#include <UnifiedScopeAttachmentDescriptor.h>
Inherits AZ::RHI::ScopeAttachmentDescriptor.
Public Member Functions | |
UnifiedScopeAttachmentDescriptor (const AttachmentId &attachmentId, const BufferViewDescriptor &bufferViewDescriptor, const AttachmentLoadStoreAction &loadStoreAction=AttachmentLoadStoreAction()) | |
Constructor for buffers, type will be set automatically. | |
UnifiedScopeAttachmentDescriptor (const AttachmentId &attachmentId, const ImageViewDescriptor &imageViewDescriptor, const AttachmentLoadStoreAction &loadStoreAction=AttachmentLoadStoreAction()) | |
Constructor for image, type will be set automatically. | |
UnifiedScopeAttachmentDescriptor (const AttachmentId &attachmentId, const AttachmentId &resolveAttachmentId, const ImageViewDescriptor &imageViewDescriptor=ImageViewDescriptor(), const AttachmentLoadStoreAction &loadStoreAction=AttachmentLoadStoreAction()) | |
Constructor for resolve, type will be set automatically. | |
BufferScopeAttachmentDescriptor | GetAsBuffer () const |
ImageScopeAttachmentDescriptor | GetAsImage () const |
ResolveScopeAttachmentDescriptor | GetAsResolve () const |
BufferViewDescriptor & | GetBufferViewDescriptor () |
ImageViewDescriptor & | GetImageViewDescriptor () |
void | SetAsBuffer (const BufferViewDescriptor &desc) |
void | SetAsImage (const ImageViewDescriptor &desc) |
void | SetAsResolve (const ImageViewDescriptor &desc, AttachmentId resolveAttachmentId) |
AttachmentType | GetType () const |
Public Member Functions inherited from AZ::RHI::ScopeAttachmentDescriptor | |
AZ_TYPE_INFO (ScopeAttachmentDescriptor, "{04BBA36D-9A61-4E24-9CA0-7A4307C6A411}") | |
ScopeAttachmentDescriptor (const AttachmentId &attachmentId, const AttachmentLoadStoreAction &loadStoreAction=AttachmentLoadStoreAction()) | |
Additional Inherited Members | |
Static Public Member Functions inherited from AZ::RHI::ScopeAttachmentDescriptor | |
static void | Reflect (AZ::ReflectContext *context) |
Public Attributes inherited from AZ::RHI::ScopeAttachmentDescriptor | |
AttachmentId | m_attachmentId |
The attachment id associated with the binding. | |
AttachmentLoadStoreAction | m_loadStoreAction |
The load/store action for the scope attachment. | |
A unified descriptor of the binding of an attachment to a scope. Essentially a union of all possible ScopeAttachment types.