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::MaskRenderNode Class Reference

Inherits LyShine::RenderNode.

Public Member Functions

 AZ_CLASS_ALLOCATOR (MaskRenderNode, AZ::PoolAllocator)
 
 MaskRenderNode (MaskRenderNode *parentMask, bool isMaskingEnabled, bool useAlphaTest, bool drawBehind, bool drawInFront)
 
void Render (UiRenderer *uiRenderer, const AZ::Matrix4x4 &modelViewProjMat, AZ::RHI::Ptr< AZ::RPI::DynamicDrawContext > dynamicDraw) override
 
AZStd::vector< RenderNode * > & GetMaskRenderNodeList ()
 
const AZStd::vector< RenderNode * > & GetMaskRenderNodeList () const
 
AZStd::vector< RenderNode * > & GetContentRenderNodeList ()
 
const AZStd::vector< RenderNode * > & GetContentRenderNodeList () const
 
MaskRenderNodeGetParentMask ()
 
bool IsMaskRedundant ()
 if the mask has no content elements and is not drawing the mask primitives then there is no need to add a render node
 
bool GetIsMaskingEnabled () const
 
bool GetUseAlphaTest () const
 
bool GetDrawBehind () const
 
bool GetDrawInFront () 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
 

Member Function Documentation

◆ Render()

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

Implements LyShine::RenderNode.

◆ ValidateNode()

void LyShine::MaskRenderNode::ValidateNode ( )
overridevirtual

Implements LyShine::RenderNode.


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