Render entry parameters. More...
#include <kanzi/core.ui/node/node3d.hpp>
Public Member Functions | |
bool | operator!= (const RenderEntryParameters &other) const |
Not equals operator. More... | |
bool | operator== (const RenderEntryParameters &other) const |
Equals operator. More... | |
RenderEntryParameters (Node3D &nodeParam, size_t indexParam, MaterialSharedPtr materialParam, Mesh *meshParam) | |
Creates a set of render entry parameters. More... | |
RenderEntryParameters (Node3D &nodeParam, size_t indexParam, MaterialSharedPtr materialParam) | |
Creates a set of render entry parameters without setting a mesh. More... | |
RenderEntryParameters (Node3D &nodeParam, size_t indexParam) | |
Creates a set of render entry parameters without setting a mesh and material. More... | |
Public Attributes | |
size_t | clusterIndex |
Index in the node. More... | |
MaterialSharedPtr | material |
Material to use. More... | |
Mesh * | mesh |
Mesh to render. Can be nullptr. More... | |
Node3D * | node |
Node. More... | |
Render entry parameters.
Kanzi uses this set of parameters to generate a render entry.
|
inlineexplicit |
Creates a set of render entry parameters.
nodeParam | The node to render. |
indexParam | The index of the render entry in the node. |
materialParam | The material to use. |
meshParam | The mesh to render, mostly for data-driven path. |
|
inlineexplicit |
Creates a set of render entry parameters without setting a mesh.
nodeParam | The node to render. |
indexParam | The index of the render entry in the node. |
materialParam | The material to use. |
|
inlineexplicit |
Creates a set of render entry parameters without setting a mesh and material.
nodeParam | The node to render. |
indexParam | The index of the render entry in the node. |
|
inline |
Equals operator.
other | The entry to which to compare. |
|
inline |
Not equals operator.
other | The entry to which to compare. |
size_t kanzi::Node3D::RenderEntryParameters::clusterIndex |
Index in the node.
MaterialSharedPtr kanzi::Node3D::RenderEntryParameters::material |
Material to use.