Open 3D Engine LyShine 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.
LyShine::RenderTargetRenderNode Class Reference

Inherits LyShine::RenderNode.

Public Member Functions

 AZ_CLASS_ALLOCATOR (RenderTargetRenderNode, AZ::PoolAllocator)
 
 RenderTargetRenderNode (RenderTargetRenderNode *parentRenderTarget, AZ::Data::Instance< AZ::RPI::AttachmentImage > attachmentImage, const AZ::Vector2 &viewportTopLeft, const AZ::Vector2 &viewportSize, const AZ::Color &clearColor, int nestLevel)
 
void Render (UiRenderer *uiRenderer, const AZ::Matrix4x4 &modelViewProjMat, AZ::RHI::Ptr< AZ::RPI::DynamicDrawContext > dynamicDraw) override
 
AZStd::vector< RenderNode * > & GetChildRenderNodeList ()
 
const AZStd::vector< RenderNode * > & GetChildRenderNodeList () const
 
RenderTargetRenderNodeGetParentRenderTarget ()
 
float GetViewportX () const
 
float GetViewportY () const
 
float GetViewportWidth () const
 
float GetViewportHeight () const
 
AZ::Color GetClearColor () const
 
const char * GetRenderTargetName () const
 
int GetNestLevel () const
 
const AZ::Data::Instance< AZ::RPI::AttachmentImage > GetRenderTarget () const
 
void ValidateNode () override
 
- Public Member Functions inherited from LyShine::RenderNode
 RenderNode (RenderNodeType type)
 
virtual void Render (UiRenderer *uiRenderer, const AZ::Matrix4x4 &modelViewProjMat, AZ::RHI::Ptr< AZ::RPI::DynamicDrawContext > dynamicDraw)=0
 
RenderNodeType GetType () const
 
virtual void ValidateNode ()=0
 

Static Public Member Functions

static bool CompareNestLevelForSort (RenderTargetRenderNode *a, RenderTargetRenderNode *b)
 Used to sort a list of RenderTargetNodes for render order.
 

Member Function Documentation

◆ Render()

void LyShine::RenderTargetRenderNode::Render ( UiRenderer uiRenderer,
const AZ::Matrix4x4 &  modelViewProjMat,
AZ::RHI::Ptr< AZ::RPI::DynamicDrawContext >  dynamicDraw 
)
overridevirtual

Implements LyShine::RenderNode.

◆ ValidateNode()

void LyShine::RenderTargetRenderNode::ValidateNode ( )
overridevirtual

Implements LyShine::RenderNode.


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