OpenGLMesh::StagedGeometry
struct · #include <rayrai/OpenGLMesh.hpp>
Where staging buffers (persistently mapped, OpenGL 4.4) hold this mesh's vertices and indices as uploadPreparedGeometry() stores them. Internal.
Public attributes
vertexBuffer
cpp
unsigned int vertexBufferThe staging buffer holding vertices,.
vertexOffset
cpp
size_t vertexOffsetat this offset.
indexBuffer
cpp
unsigned int indexBufferThe staging buffer holding the indices.
indexOffset
cpp
size_t indexOffset(16-bit when uploadsCompactIndices()), at this offset.