#include <BufferScopeAttachment.h>
Inherits AZ::RHI::ScopeAttachment.
Public Member Functions | |
AZ_RTTI (BufferScopeAttachment, "{48A21F94-985B-40EE-A75A-8E960E935321}", ScopeAttachment) | |
AZ_CLASS_ALLOCATOR (BufferScopeAttachment, SystemAllocator) | |
BufferScopeAttachment (Scope &scope, FrameAttachment &attachment, ScopeAttachmentUsage usage, ScopeAttachmentAccess access, const BufferScopeAttachmentDescriptor &descriptor) | |
const BufferScopeAttachmentDescriptor & | GetDescriptor () const |
const BufferFrameAttachment & | GetFrameAttachment () const |
Returns the parent graph attachment referenced by this scope attachment. | |
BufferFrameAttachment & | GetFrameAttachment () |
const BufferScopeAttachment * | GetPrevious () const |
Returns the previous scope attachment in the linked list. | |
BufferScopeAttachment * | GetPrevious () |
const BufferScopeAttachment * | GetNext () const |
Returns the next scope attachment in the linked list. | |
BufferScopeAttachment * | GetNext () |
const BufferView * | GetBufferView () const |
Returns the buffer view set on the scope attachment. | |
void | SetBufferView (ConstPtr< BufferView > bufferView) |
Assigns a buffer view to the scope attachment. | |
Public Member Functions inherited from AZ::RHI::ScopeAttachment | |
AZ_RTTI (ScopeAttachment, "{6BB50E92-5A15-4C50-8717-F7B05AB98BD9}") | |
ScopeAttachment (Scope &scope, FrameAttachment &attachment, ScopeAttachmentUsage usage, ScopeAttachmentAccess access) | |
bool | HasUsage (const ScopeAttachmentUsage usage) const |
Returns true if usage is compatible with how this scopeattachment will be used. | |
bool | HasAccessAndUsage (const ScopeAttachmentUsage usage, const ScopeAttachmentAccess access) const |
Returns true if access is compatible with how this scopeattachment will be accessed. | |
const AZStd::vector< ScopeAttachmentUsageAndAccess > & | GetUsageAndAccess () const |
Returns a vector containing all usage/access data used by this scopeattachment. | |
const ResourceView * | GetResourceView () const |
Returns the resource view. | |
const Scope & | GetScope () const |
Returns the parent scope that this attachment is bound to. | |
Scope & | GetScope () |
const FrameAttachment & | GetFrameAttachment () const |
Returns the parent frame graph attachment. | |
FrameAttachment & | GetFrameAttachment () |
const ScopeAttachment * | GetPrevious () const |
Returns the previous binding in the linked list. | |
ScopeAttachment * | GetPrevious () |
const ScopeAttachment * | GetNext () const |
Returns the next binding in the linked list. | |
ScopeAttachment * | GetNext () |
const char * | GetTypeName (const RHI::ScopeAttachmentUsageAndAccess &usageAndAccess) const |
Returns the friendly usage and access type names of this scope attachment (used for logging). | |
AZStd::string | GetUsageTypes () const |
AZStd::string | GetAccessTypes () const |
void | AddUsageAndAccess (ScopeAttachmentUsage usage, ScopeAttachmentAccess access) |
Add how the attachment is used by the scope and how it is accessed by the scope. | |
bool | IsSwapChainAttachment () const |
Returns true if this is a SwapChainFrameAttachment. | |
Additional Inherited Members | |
Protected Member Functions inherited from AZ::RHI::ScopeAttachment | |
void | SetResourceView (ConstPtr< ResourceView > resourceView) |
Assigns the resource view to this scope attachment. | |
A specialization of a scope attachment for buffers. Provides access to the buffer view and buffer scope attachment descriptor.