Cluster has a material, primitive type (currently always triangles), and handle for GPU memory buffer where primitive indices are stored.
More...
#include <kanzi/core.ui/platform/graphics_backend/gl/mesh.hpp>
Cluster has a material, primitive type (currently always triangles), and handle for GPU memory buffer where primitive indices are stored.
◆ Cluster() [1/2]
kanzi::Mesh::Cluster::Cluster |
( |
| ) |
|
|
inlineexplicit |
◆ Cluster() [2/2]
kanzi::Mesh::Cluster::Cluster |
( |
Cluster && |
| ) |
|
|
default |
Default move constructor.
◆ operator=()
◆ primitiveType
Primitive type for this cluster.
◆ indexCount
unsigned int kanzi::Mesh::Cluster::indexCount |
Number of indices. Stored in a separate variable since indexData array can be freed to save memory.
◆ indexType
Type of indices. UInt8, UInt16, or UInt32.
◆ indexData
vector<byte> kanzi::Mesh::Cluster::indexData |
Vector containing the index data. May be empty.
◆ material
◆ indexBuffer
Handle for GPU memory buffer where primitive indices are stored.
The documentation for this struct was generated from the following file:
- kanzi/core.ui/platform/graphics_backend/gl/mesh.hpp