Parameters for Mesh::Cluster creation.
More...
#include <kanzi/core.ui/graphics3d/mesh_create_info.hpp>
Parameters for Mesh::Cluster creation.
kanzi::Mesh::CreateInfo::Cluster::Cluster |
( |
| ) |
|
|
explicitdefault |
Constructor.
- Parameters
-
primitiveType | Primitive type for cluster. |
indexCount | Number of indices for cluster. |
indexType | Data type of the index buffer: UInt16 or UInt32. |
material | Material (pointer). |
materialURL | URL to material resource. |
Constructor.
- Parameters
-
primitiveType | Primitive type for cluster. |
indexCount | Number of indices for cluster. |
indexType | Data type of the index buffer: UInt16 or UInt32. |
indexBufferHandle | Native handle for the index buffer. |
material | Material (pointer). |
materialURL | URL to material resource. |
- Since
- Kanzi 3.9.6
unsigned int kanzi::Mesh::CreateInfo::Cluster::getIndexCount |
( |
| ) |
const |
|
inline |
Compatibility helper method that returns the index count.
byte* kanzi::Mesh::CreateInfo::Cluster::setIndexCount |
( |
unsigned int |
count | ) |
|
|
inline |
Primitive type for the cluster.
The data type of the index buffer: UInt16 or UInt32.
unsigned int kanzi::Mesh::CreateInfo::Cluster::indexCount |
Index count.
- Since
- Kanzi 3.9.6
vector<byte> kanzi::Mesh::CreateInfo::Cluster::indexData |
Native handle to the index buffer.
- Since
- Kanzi 3.9.6
string kanzi::Mesh::CreateInfo::Cluster::materialURL |
Temporary resource URL from which Kanzi acquires the material resource during finishing of loading.
The documentation for this struct was generated from the following file: