7 #include <ThirdParty/EASTL-master/include/EASTL/vector.h> 30 uint64_t GetVAO()
const;
42 uint64_t GetVBO()
const;
54 uint64_t GetEBO()
const;
66 uint64_t GetUBO()
const;
84 bool operator==(
Mesh& other);
90 bool operator!=(
Mesh& other);
96 friend class OpenGLMesh;
99 friend class VulkanMesh;
103 Mesh(eastl::vector<Vertex> vertices, eastl::vector<unsigned> indices);
104 virtual ~
Mesh() noexcept;
108 virtual
void SetUpMesh();
110 uint64_t vao, vbo, ebo, ubo;
113 template <typename T>
119 template <
typename T>
125 template <
typename T>
131 template <
typename T>
eastl::vector< unsigned > indices
The indices of this mesh.
uint64_t GetVBO() const
This method allows you to get the VBO of this mesh.
uint64_t GetEBO() const
This method allows you to get the EBO of this mesh.
This class is used to create models, load in meshes and textures. NOTE: Only the Engine is allowed to...
eastl::vector< Vertex > vertices
The vertices of this mesh.
eastl::string name
The name of this mesh.
This object is used to store data regarding a mesh. NOTE: only the resource manager is allowed to cre...
uint64_t GetUBO() const
This method allows you to get the UBO of this mesh.