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 |
( |
| ) |
|
|
inlineexplicit |
Constructor.
- Parameters
-
| primitiveType | Primitive type for cluster. |
| indexCount | Number of indices for cluster. |
| material | Material (pointer). |
| materialURL | URL to material resource. |
| size_t kanzi::Mesh::CreateInfo::Cluster::getIndexCount |
( |
| ) |
const |
|
inline |
A helper method that returns the index count as defined by the index data size divided by the stride.
| byte* kanzi::Mesh::CreateInfo::Cluster::setIndexCount |
( |
size_t |
count | ) |
|
|
inline |
Primitive type for the cluster.
The data type of the index buffer. UInt8, UInt16, or UInt32.
| vector<byte> kanzi::Mesh::CreateInfo::Cluster::indexData |
| string kanzi::Mesh::CreateInfo::Cluster::materialURL |
Temporary resource URL during loading, from which the material resource is acquired during finishing of loading.
The documentation for this struct was generated from the following file: