This object is used to store data regarding a mesh. NOTE: only the resource manager is allowed to create a mesh.
More...
#include <Mesh.hpp>
|
| uint64_t | GetVAO () const |
| | This method allows you to get the VAO of this mesh. More...
|
| |
| template<typename T > |
| T | GetVAO () |
| | This method allows you to get the VAO of this mesh. More...
|
| |
| uint64_t | GetVBO () const |
| | This method allows you to get the VBO of this mesh. More...
|
| |
| template<typename T > |
| T | GetVBO () |
| | This method allows you to get the VBO of this mesh. More...
|
| |
| uint64_t | GetEBO () const |
| | This method allows you to get the EBO of this mesh. More...
|
| |
| template<typename T > |
| T | GetEBO () |
| | This method allows you to get the EBO of this mesh. More...
|
| |
| uint64_t | GetUBO () const |
| | This method allows you to get the UBO of this mesh. More...
|
| |
| template<typename T > |
| T | GetUBO () |
| | This method allows you to get the UBO of this mesh. More...
|
| |
| bool | operator== (Mesh &other) |
| | This method allows you to compare a mesh with another mesh. More...
|
| |
| bool | operator!= (Mesh &other) |
| | This method allows you to compare a mesh with another mesh. More...
|
| |
This object is used to store data regarding a mesh. NOTE: only the resource manager is allowed to create a mesh.
Definition at line 14 of file Mesh.hpp.
| uint64_t Engine::Mesh::GetEBO |
( |
| ) |
const |
This method allows you to get the EBO of this mesh.
- Returns
- Returns the EBO as an uint64_t.
Definition at line 35 of file Mesh.cpp.
template<typename T >
| T Engine::Mesh::GetEBO |
( |
| ) |
|
This method allows you to get the EBO of this mesh.
- Returns
- Returns the EBO as the defined type.
Definition at line 126 of file Mesh.hpp.
| uint64_t Engine::Mesh::GetUBO |
( |
| ) |
const |
This method allows you to get the UBO of this mesh.
- Returns
- Returns the UBO as an uint64_t.
Definition at line 40 of file Mesh.cpp.
template<typename T >
| T Engine::Mesh::GetUBO |
( |
| ) |
|
This method allows you to get the UBO of this mesh.
- Returns
- Returns the UBO as the defined type.
Definition at line 132 of file Mesh.hpp.
| uint64_t Engine::Mesh::GetVAO |
( |
| ) |
const |
This method allows you to get the VAO of this mesh.
- Returns
- Returns the VAO as an uint64_t.
Definition at line 25 of file Mesh.cpp.
template<typename T >
| T Engine::Mesh::GetVAO |
( |
| ) |
|
This method allows you to get the VAO of this mesh.
- Returns
- Returns the VAO as the defined type.
Definition at line 114 of file Mesh.hpp.
| uint64_t Engine::Mesh::GetVBO |
( |
| ) |
const |
This method allows you to get the VBO of this mesh.
- Returns
- Returns the VBO as an uint64_t.
Definition at line 30 of file Mesh.cpp.
template<typename T >
| T Engine::Mesh::GetVBO |
( |
| ) |
|
This method allows you to get the VBO of this mesh.
- Returns
- Returns the VBO as the defined type.
Definition at line 120 of file Mesh.hpp.
| bool Engine::Mesh::operator!= |
( |
Mesh & |
other | ) |
|
This method allows you to compare a mesh with another mesh.
- Parameters
-
| other | The mesh you want to compare against. |
- Returns
- Returns true if the meshes are not equal.
Definition at line 74 of file Mesh.cpp.
| bool Engine::Mesh::operator== |
( |
Mesh & |
other | ) |
|
This method allows you to compare a mesh with another mesh.
- Parameters
-
| other | The mesh you want to compare against. |
- Returns
- Returns true if both meshes are equal.
Definition at line 45 of file Mesh.cpp.
| uint64_t Engine::Mesh::ebo |
|
protected |
| eastl::vector<unsigned> Engine::Mesh::indices |
The indices of this mesh.
Definition at line 24 of file Mesh.hpp.
| eastl::string Engine::Mesh::name |
The name of this mesh.
Definition at line 77 of file Mesh.hpp.
| uint64_t Engine::Mesh::ubo |
|
protected |
| uint64_t Engine::Mesh::vao |
|
protected |
| uint64_t Engine::Mesh::vbo |
|
protected |
| eastl::vector<Vertex> Engine::Mesh::vertices |
The vertices of this mesh.
Definition at line 20 of file Mesh.hpp.
The documentation for this class was generated from the following files: