25 std::vector<Vertex> vertices;
26 std::vector<uint32_t> indices;
29 MN_SYMBOL
static Mesh fromFrame(
const Frame& frame);
30 MN_SYMBOL
static Mesh fromLua(
const std::string& lua_file);
32 MN_SYMBOL std::size_t vertexCount()
const;
33 MN_SYMBOL std::size_t indexCount()
const;
35 MN_SYMBOL
void setVertexCount(uint32_t count);
36 MN_SYMBOL
void setIndexCount(uint32_t count);
38 MN_SYMBOL std::span<Vertex> vertices();
39 MN_SYMBOL std::span<const Vertex> vertices()
const;
41 MN_SYMBOL std::span<uint32_t> indices();
42 MN_SYMBOL std::span<const uint32_t> indices()
const;
44 MN_SYMBOL std::size_t allocated()
const;
46 std::shared_ptr<TypeBuffer<Vertex>> vertex;
47 std::shared_ptr<TypeBuffer<uint32_t>> index;
Definition: RenderFrame.hpp:25
Definition: Vector.hpp:12