Open 3D Engine Atom Gem API Reference
23.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
A scope producer to copy the input attachment and output a copy of this attachment. More...
#include <ImageAttachmentPreviewPass.h>
Inherits AZ::RHI::ScopeProducer.
Public Member Functions | |
AZ_RTTI (ImageAttachmentCopy,"{27E35230-48D1-4950-8489-F301A45D4A0B}", RHI::ScopeProducer) | |
AZ_CLASS_ALLOCATOR (ImageAttachmentCopy, SystemAllocator) | |
void | SetImageAttachment (RHI::AttachmentId srcAttachmentId, RHI::AttachmentId destAttachmentId) |
void | FrameBegin (Pass::FramePrepareParams params) |
void | Reset () |
void | InvalidateDestImage () |
Public Member Functions inherited from AZ::RHI::ScopeProducer | |
ScopeProducer (const ScopeId &scopeId) | |
const ScopeId & | GetScopeId () const |
const Scope * | GetScope () const |
Protected Member Functions | |
void | SetupFrameGraphDependencies (RHI::FrameGraphInterface frameGraph) override |
void | CompileResources (const RHI::FrameGraphCompileContext &context) override |
void | BuildCommandList (const RHI::FrameGraphExecuteContext &context) override |
Protected Member Functions inherited from AZ::RHI::ScopeProducer | |
ScopeProducer () | |
void | SetHardwareQueueClass (HardwareQueueClass hardwareQueueClass) |
void | SetScopeId (const ScopeId &scopeId) |
void | InitScope (const ScopeId &scopeId, HardwareQueueClass hardwareQueueClass=HardwareQueueClass::Graphics) |
Friends | |
class | ImageAttachmentPreviewPass |
A scope producer to copy the input attachment and output a copy of this attachment.
|
overrideprotectedvirtual |
This function is called at command list recording time and may be called multiple times if the schedule decides to split work items across command lists. In this case, each invocation will provide a command list and invocation index.
Reimplemented from AZ::RHI::ScopeProducer.
|
overrideprotectedvirtual |
This function is called after compilation of the frame graph, but before execution. The provided FrameGraphAttachmentContext allows you to access RHI views associated with attachment ids. This is the method to build ShaderResourceGroups from transient attachment views.
Reimplemented from AZ::RHI::ScopeProducer.
|
overrideprotectedvirtual |
This function is called during the schedule setup phase. The client is expected to declare attachments using the provided
frameGraph. |
Implements AZ::RHI::ScopeProducer.