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

Inherits LyShine::RenderNode.

Public Member Functions

 AZ_CLASS_ALLOCATOR (PrimitiveListRenderNode, AZ::PoolAllocator)
 
 PrimitiveListRenderNode (const AZ::Data::Instance< AZ::RPI::Image > &texture, bool isClampTextureMode, bool isTextureSRGB, bool preMultiplyAlpha, const AZ::RHI::TargetBlendState &blendModeState)
 
 PrimitiveListRenderNode (const AZ::Data::Instance< AZ::RPI::Image > &texture, const AZ::Data::Instance< AZ::RPI::Image > &maskTexture, bool isClampTextureMode, bool isTextureSRGB, bool preMultiplyAlpha, AlphaMaskType alphaMaskType, const AZ::RHI::TargetBlendState &blendModeState)
 
void Render (UiRenderer *uiRenderer, const AZ::Matrix4x4 &modelViewProjMat, AZ::RHI::Ptr< AZ::RPI::DynamicDrawContext > dynamicDraw) override
 
void AddPrimitive (LyShine::UiPrimitive *primitive)
 
LyShine::UiPrimitiveList & GetPrimitives () const
 
int GetOrAddTexture (const AZ::Data::Instance< AZ::RPI::Image > &texture, bool isClampTextureMode)
 
int GetNumTextures () const
 
const AZ::Data::Instance< AZ::RPI::Image > GetTexture (int texIndex) const
 
bool GetTextureIsClampMode (int texIndex) const
 
bool GetIsTextureSRGB () const
 
AZ::RHI::TargetBlendState GetBlendModeState () const
 
bool GetIsPremultiplyAlpha () const
 
AlphaMaskType GetAlphaMaskType () const
 
bool HasSpaceToAddPrimitive (LyShine::UiPrimitive *primitive) const
 
int FindTexture (const AZ::Data::Instance< AZ::RPI::Image > &texture, bool isClampTextureMode) 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 Attributes

static const int MaxTextures = 16
 

Member Function Documentation

◆ Render()

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

Implements LyShine::RenderNode.

◆ ValidateNode()

void LyShine::PrimitiveListRenderNode::ValidateNode ( )
overridevirtual

Implements LyShine::RenderNode.


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