Parameters for Mesh::Cluster creation.
More...
#include <kanzi/core.ui/graphics3d/mesh_create_info.hpp>
Parameters for Mesh::Cluster creation.
◆ Cluster() [1/3]
kanzi::Mesh::CreateInfo::Cluster::Cluster |
( |
| ) |
|
|
explicitdefault |
◆ Cluster() [2/3]
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. |
◆ Cluster() [3/3]
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
◆ getIndexCount()
size_t kanzi::Mesh::CreateInfo::Cluster::getIndexCount |
( |
| ) |
const |
|
inline |
Compatibility helper method that returns the index count.
◆ setIndexCount()
byte* kanzi::Mesh::CreateInfo::Cluster::setIndexCount |
( |
size_t |
count | ) |
|
|
inline |
◆ primitiveType
Primitive type for the cluster.
◆ indexType
The data type of the index buffer: UInt16 or UInt32.
◆ indexCount
unsigned int kanzi::Mesh::CreateInfo::Cluster::indexCount |
Index count.
- Since
- Kanzi 3.9.6
◆ indexData
vector<byte> kanzi::Mesh::CreateInfo::Cluster::indexData |
◆ indexBufferHandle
Native handle to the index buffer.
- Since
- Kanzi 3.9.6
◆ material
◆ materialURL
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: