Base GL geometry.
More...
#include <kanzi/core.ui/platform/graphics_backend/gl/geometry_gl.hpp>
kanzi::GeometryGl::GeometryGl |
( |
size_t |
vertex_count | ) |
|
|
inlineexplicit |
virtual const float* kanzi::GeometryGl::getVertexData |
( |
| ) |
const |
|
pure virtual |
virtual const float* kanzi::GeometryGl::getTexcoordData |
( |
| ) |
const |
|
pure virtual |
size_t kanzi::GeometryGl::getVertexCount |
( |
| ) |
const |
|
inline |
Get vertex count.
- Returns
- Number of vertices.
void kanzi::GeometryGl::setVertexCount |
( |
size_t |
vertex_count | ) |
|
|
inlineprotected |
Set vertex count.
Should only be used by inheriting classes when generating geometry.
- Parameters
-
vertex_count | New vertex count. |
The documentation for this class was generated from the following file: