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::UnifiedAttachmentDescriptor Struct Reference

#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
 
}; 
 

Detailed Description

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.


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