44 tenno::vector<Vertex> vertices;
48 tenno::vector<unsigned int> indices;
49 tenno::vector<tenno::shared_ptr<Texture>> textures;
53 constexpr Mesh(
const Mesh&) =
delete;
54 constexpr Mesh& operator=(
const Mesh&) =
delete;
56 constexpr Mesh(
Mesh&& other)
noexcept
58 this->vao = tenno::move(other.vao);
59 this->vbo = tenno::move(other.vbo);
60 this->ebo = tenno::move(other.ebo);
61 this->vertices = tenno::move(other.vertices);
62 this->indices = tenno::move(other.indices);
63 this->textures = tenno::move(other.textures);
67 constexpr Mesh& operator=(
Mesh&& other)
noexcept
69 this->vao = tenno::move(other.vao);
70 this->vbo = tenno::move(other.vbo);
71 this->ebo = tenno::move(other.ebo);
72 this->vertices = tenno::move(other.vertices);
73 this->indices = tenno::move(other.indices);
74 this->textures = tenno::move(other.textures);