Kanzi 3.9.10
kanzi::Node3D::RenderEntryParameters Class Reference

Render entry parameters. More...

#include <kanzi/core.ui/node/node3d.hpp>

Public Member Functions

bool operator!= (const RenderEntryParameters &other) const
 Not equals operator.
 
bool operator== (const RenderEntryParameters &other) const
 Equals operator.
 
 RenderEntryParameters (Node3D &nodeParam, size_t indexParam)
 Creates a set of render entry parameters without setting a mesh and material.
 
 RenderEntryParameters (Node3D &nodeParam, size_t indexParam, MaterialSharedPtr materialParam)
 Creates a set of render entry parameters without setting a mesh.
 
 RenderEntryParameters (Node3D &nodeParam, size_t indexParam, MaterialSharedPtr materialParam, Mesh *meshParam)
 Creates a set of render entry parameters.
 

Public Attributes

size_t clusterIndex
 Index in the node.
 
MaterialSharedPtr material
 Material to use.
 
Meshmesh
 Mesh to render. Can be nullptr.
 
Node3Dnode
 Node.
 

Detailed Description

Render entry parameters.

Kanzi uses this set of parameters to generate a render entry.

Constructor & Destructor Documentation

◆ RenderEntryParameters() [1/3]

kanzi::Node3D::RenderEntryParameters::RenderEntryParameters ( Node3D & nodeParam,
size_t indexParam,
MaterialSharedPtr materialParam,
Mesh * meshParam )
inlineexplicit

Creates a set of render entry parameters.

Parameters
nodeParamThe node to render.
indexParamThe index of the render entry in the node.
materialParamThe material to use.
meshParamThe mesh to render, mostly for data-driven path.

◆ RenderEntryParameters() [2/3]

kanzi::Node3D::RenderEntryParameters::RenderEntryParameters ( Node3D & nodeParam,
size_t indexParam,
MaterialSharedPtr materialParam )
inlineexplicit

Creates a set of render entry parameters without setting a mesh.

Parameters
nodeParamThe node to render.
indexParamThe index of the render entry in the node.
materialParamThe material to use.

◆ RenderEntryParameters() [3/3]

kanzi::Node3D::RenderEntryParameters::RenderEntryParameters ( Node3D & nodeParam,
size_t indexParam )
inlineexplicit

Creates a set of render entry parameters without setting a mesh and material.

Parameters
nodeParamThe node to render.
indexParamThe index of the render entry in the node.

Member Function Documentation

◆ operator==()

bool kanzi::Node3D::RenderEntryParameters::operator== ( const RenderEntryParameters & other) const
inline

Equals operator.

Parameters
otherThe entry to which to compare.
Returns
If the entries are equal, true, otherwise false.

◆ operator!=()

bool kanzi::Node3D::RenderEntryParameters::operator!= ( const RenderEntryParameters & other) const
inline

Not equals operator.

Parameters
otherThe entry to which to compare.
Returns
If the entries are not equal, true, otherwise false.

Member Data Documentation

◆ node

Node3D* kanzi::Node3D::RenderEntryParameters::node

Node.

◆ clusterIndex

size_t kanzi::Node3D::RenderEntryParameters::clusterIndex

Index in the node.

◆ material

MaterialSharedPtr kanzi::Node3D::RenderEntryParameters::material

Material to use.

◆ mesh

Mesh* kanzi::Node3D::RenderEntryParameters::mesh

Mesh to render. Can be nullptr.


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