A mesh kept in GPU-readable vertex buffers across frames (ImageRenderer::createMesh()). More...
#include <WutVideoDriver.h>
Public Attributes | |
| float * | positions |
| 3 floats per vertex (x, y, 0) | |
| uint8_t * | colors |
| RGBA8 per vertex. | |
| uint32_t | count |
| Number of vertices. | |
| WutMesh * | next |
| Link in the retired list. | |
A mesh kept in GPU-readable vertex buffers across frames (ImageRenderer::createMesh()).
Positions are NDC for an instance at the design canvas origin at scale 1, so a draw only sets the shader's offset and scale to place it.
Definition at line 30 of file WutVideoDriver.h.
| uint8_t* WutMesh::colors |
RGBA8 per vertex.
Definition at line 33 of file WutVideoDriver.h.
| uint32_t WutMesh::count |
Number of vertices.
Definition at line 34 of file WutVideoDriver.h.
| WutMesh* WutMesh::next |
Link in the retired list.
Definition at line 35 of file WutVideoDriver.h.
| float* WutMesh::positions |
3 floats per vertex (x, y, 0)
Definition at line 32 of file WutVideoDriver.h.