Open 3D Engine Atom Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::RHI::UnifiedScopeAttachmentDescriptor Struct Referencefinal

#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
 
BufferViewDescriptorGetBufferViewDescriptor ()
 
ImageViewDescriptorGetImageViewDescriptor ()
 
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.
 

Detailed Description

A unified descriptor of the binding of an attachment to a scope. Essentially a union of all possible ScopeAttachment types.


The documentation for this struct was generated from the following file: