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

Describes what rules to apply when the image or buffer attachment is loaded and stored. More...

#include <AttachmentLoadStoreAction.h>

Public Member Functions

 AZ_TYPE_INFO (AttachmentLoadStoreAction, "{B41084F9-ED52-49F1-A2FA-8F648B0EC0D4}")
 
 AttachmentLoadStoreAction (const ClearValue &clearValue=ClearValue(), AttachmentLoadAction loadAction=AttachmentLoadAction::Load, AttachmentStoreAction storeAction=AttachmentStoreAction::Store, AttachmentLoadAction loadActionStencil=AttachmentLoadAction::Load, AttachmentStoreAction storeActionStencil=AttachmentStoreAction::Store)
 
bool operator== (const AttachmentLoadStoreAction &other) const
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Public Attributes

ClearValue m_clearValue
 The clear value if using a Clear load action. Ignored otherwise.
 
AttachmentLoadAction m_loadAction = AttachmentLoadAction::Load
 The load action applied when the attachment is bound.
 
AttachmentStoreAction m_storeAction = AttachmentStoreAction::Store
 The store action applied when the attachment is bound.
 
AttachmentLoadAction m_loadActionStencil = AttachmentLoadAction::Load
 The stencil load action. Applies only to depth-stencil image attachments.
 
AttachmentStoreAction m_storeActionStencil = AttachmentStoreAction::Store
 The stencil store action. Applies only to depth-stencil image attachments.
 

Detailed Description

Describes what rules to apply when the image or buffer attachment is loaded and stored.


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