Drawable vertex array.
More...
#include <le2d/vertex_array.hpp>
◆ append()
auto le::VertexArray::append |
( |
std::span< Vertex const > |
vertices, |
|
|
std::span< std::uint32_t const > |
indices |
|
) |
| -> VertexArray & |
◆ clear()
void le::VertexArray::clear |
( |
| ) |
|
◆ reserve()
void le::VertexArray::reserve |
( |
std::size_t |
vertex_count, |
|
|
std::size_t |
index_count |
|
) |
| |
◆ indices
std::vector<std::uint32_t> le::VertexArray::indices {} |
◆ vertices
std::vector<Vertex> le::VertexArray::vertices {} |
The documentation for this struct was generated from the following file: