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.
kanzi::Mesh::Cluster::Cluster |
( |
| ) |
|
|
inlineexplicit |
kanzi::Mesh::Cluster::Cluster |
( |
Cluster && |
| ) |
|
|
default |
Default move constructor.
unsigned int kanzi::Mesh::Cluster::getCPUMemoryUsage |
( |
| ) |
const |
Get RAM usage of cluster.
Primitive type for this cluster.
unsigned int kanzi::Mesh::Cluster::indexCount |
Number of indices. Stored in a separate variable since indexData array can be freed to save memory.
Type of indices: UInt16 or UInt32.
vector<byte> kanzi::Mesh::Cluster::indexData |
Vector containing the index data. May be empty.
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