Parameters for Mesh::Cluster creation.
More...
#include <kanzi/core.ui/graphics3d/mesh_create_info.hpp>
Parameters for Mesh::Cluster creation.
◆ Cluster() [1/2]
| kanzi::Mesh::CreateInfo::Cluster::Cluster |
( |
| ) |
|
|
inlineexplicit |
◆ Cluster() [2/2]
Constructor.
- Parameters
-
| primitiveType | Primitive type for cluster. |
| indexCount | Number of indices for cluster. |
| indexType | The data type of the index buffer. UInt8, UInt16, or UInt32. |
| material | Material (pointer). |
| materialURL | URL to material resource. |
◆ getIndexCount()
| 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.
◆ 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. UInt8, UInt16, or UInt32.
◆ indexData
| vector<byte> kanzi::Mesh::CreateInfo::Cluster::indexData |
◆ material
◆ materialURL
| 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: