ATOM-15939 Add support to capture attachment for ParentPass (#1887)
* ATOM-15939 Add support to capture attachment for ParentPass - Moved the attachment read back support to Pass class so it supports both ParentPass and RenderPass. - Added support to output input or output state of an InputOutput attachment. - Enabled showing ParentPass attachments in PassTree tool. Signed-off-by: Tao <qingtao@amazon.com>
This commit is contained in:
@@ -73,7 +73,7 @@ namespace TrackView
|
||||
bool startedCapture = false;
|
||||
AZ::Render::FrameCaptureRequestBus::BroadcastResult(
|
||||
startedCapture, &AZ::Render::FrameCaptureRequestBus::Events::CapturePassAttachmentWithCallback, m_passHierarchy,
|
||||
AZStd::string("Output"), attachmentReadbackCallback);
|
||||
AZStd::string("Output"), attachmentReadbackCallback, AZ::RPI::PassAttachmentReadbackOption::Output);
|
||||
|
||||
return startedCapture;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user