Base GL geometry.
More...
#include <kanzi/core.ui/platform/graphics_backend/gl/geometry_gl.hpp>
◆ GeometryGl()
kanzi::GeometryGl::GeometryGl |
( |
size_t |
vertex_count | ) |
|
|
inlineexplicit |
◆ getVertexData()
virtual const float* kanzi::GeometryGl::getVertexData |
( |
| ) |
const |
|
pure virtual |
◆ getTexcoordData()
virtual const float* kanzi::GeometryGl::getTexcoordData |
( |
| ) |
const |
|
pure virtual |
◆ getVertexCount()
size_t kanzi::GeometryGl::getVertexCount |
( |
| ) |
const |
|
inline |
Get vertex count.
- Returns
- Number of vertices.
◆ setVertexCount()
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: