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 |
( |
| ) |
|
|
explicitdefault |
◆ Cluster() [2/2]
Constructor.
- Parameters
-
| primitiveType | Primitive type for cluster. |
| indexCount | Number of indices for cluster. |
| material | Material (pointer). |
| materialURL | URL to material resource. |
- Since
- Kanzi 4.0.0 changed the type of the indexCount parameter to size_t.
-
Kanzi 4.0.0 removed the indexType parameter.
◆ getIndexCount()
| size_t kanzi::Mesh::CreateInfo::Cluster::getIndexCount |
( |
| ) |
const |
|
inline |
Compatibility helper method that returns the index count.
- Returns
- Index count.
- Since
- Kanzi 4.0.0 changed the type of the return value to size_t.
◆ primitiveType
Primitive type for the cluster.
◆ indexCount
| size_t kanzi::Mesh::CreateInfo::Cluster::indexCount |
Index count.
- Since
- Kanzi 3.9.6
-
Kanzi 4.0.0 changed the type to size_t.
◆ indexOffset
| size_t kanzi::Mesh::CreateInfo::Cluster::indexOffset |
Index buffer offset in bytes.
- Since
- Kanzi 4.0.0
◆ 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: