struct
#include <core/gl/render_device.hpp>
VertexElement Describes a vertex element.
Public variables
- const char* name
- Element name.
- Type type
- Element type.
- std::size_t size
- Number of components in the vertex element (1, 2, 3 or 4).
- std::size_t stride
- Stride between each element in memory.
- std::size_t offset
- Offset of the first element in the buffer.
- std::size_t index
- Index of the vertex buffer where the element is stored.
- struct cubos::core::gl::VertexElement::@4 buffer
- Vertex buffer description.