Ebus to handle render target requests. More...
#include <RenderToTextureBus.h>
Inherits AZ::ComponentBus.
Public Member Functions | |
virtual AZ::RHI::AttachmentId | UseRenderTarget (const AZ::Name &renderTargetName, AZ::RHI::Size size)=0 |
virtual AZ::RHI::AttachmentId | UseRenderTargetAsset (const AZ::Data::Asset< AZ::RPI::AttachmentImageAsset > &attachmentImageAsset)=0 |
virtual void | ReleaseRenderTarget (const AZ::RHI::AttachmentId &attachmentId)=0 |
Call when a render target is no longer needed by a UI canvas. | |
virtual AZ::Data::Instance< AZ::RPI::AttachmentImage > | GetRenderTarget (const AZ::RHI::AttachmentId &attachmentId)=0 |
Get an attachment image used by a UI canvas from an attachment image Id. | |
Ebus to handle render target requests.
|
pure virtual |
Get an attachment image to be used internally by a UI component to render to texture and then read that same texture (ex. UiMaskComponent, UiFaderComponent)
|
pure virtual |
Get an attachment image from an attachment image asset to render to texture only and then read it outside of LyShine (ex. render UI canvas to a render target and use in a material)