#include <Mesh.hpp>
◆ Mesh() [1/4]
shkyera::Mesh::Mesh |
( |
const std::filesystem::path & |
path | ) |
|
◆ Mesh() [2/4]
shkyera::Mesh::Mesh |
( |
std::vector< Vertex > |
vertices, |
|
|
std::vector< uint32_t > |
indices |
|
) |
| |
◆ Mesh() [3/4]
◆ Mesh() [4/4]
shkyera::Mesh::Mesh |
( |
Mesh && |
other | ) |
|
|
noexcept |
◆ ~Mesh()
◆ bind()
void shkyera::Mesh::bind |
( |
| ) |
const |
|
inline |
◆ draw()
void shkyera::Mesh::draw |
( |
| ) |
const |
◆ getBoundingBox()
AABB shkyera::Mesh::getBoundingBox |
( |
| ) |
const |
◆ getEBO()
GLuint shkyera::Mesh::getEBO |
( |
| ) |
const |
|
inline |
◆ getMeshSize()
GLsizei shkyera::Mesh::getMeshSize |
( |
| ) |
const |
|
inline |
◆ getVAO()
GLuint shkyera::Mesh::getVAO |
( |
| ) |
const |
|
inline |
◆ getVBO()
GLuint shkyera::Mesh::getVBO |
( |
| ) |
const |
|
inline |
◆ loadFromFile()
void shkyera::Mesh::loadFromFile |
( |
const std::filesystem::path & |
filepath | ) |
|
|
private |
◆ operator=() [1/2]
◆ operator=() [2/2]
Mesh & shkyera::Mesh::operator= |
( |
Mesh && |
other | ) |
|
|
noexcept |
◆ unbind()
void shkyera::Mesh::unbind |
( |
| ) |
const |
|
inline |
◆ uploadToGPU()
void shkyera::Mesh::uploadToGPU |
( |
| ) |
|
|
private |
◆ _ebo
◆ _indices
std::vector<uint32_t> shkyera::Mesh::_indices |
|
private |
◆ _meshSize
◆ _vao
◆ _vbo
◆ _vertices
std::vector<Vertex> shkyera::Mesh::_vertices |
|
private |
The documentation for this class was generated from the following files: