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. | |
Mesh * | mesh |
Mesh to render. Can be nullptr. | |
Node3D * | node |
Node. | |
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.