#include <Mesh.h>
Definition at line 9 of file Mesh.h.
◆ Mesh() [1/3]
◆ Mesh() [2/3]
| hellfire::Mesh::Mesh |
( |
const std::vector< Vertex > & |
vertices, |
|
|
const std::vector< unsigned int > & |
indices |
|
) |
| |
◆ Mesh() [3/3]
| hellfire::Mesh::Mesh |
( |
const std::vector< Vertex > & |
vertices, |
|
|
const std::vector< unsigned int > & |
indices, |
|
|
bool |
defer_build |
|
) |
| |
◆ bind()
| void hellfire::Mesh::bind |
( |
| ) |
const |
◆ build()
| void hellfire::Mesh::build |
( |
| ) |
|
◆ cleanup()
| void hellfire::Mesh::cleanup |
( |
| ) |
|
◆ create_mesh()
| void hellfire::Mesh::create_mesh |
( |
| ) |
|
|
private |
◆ draw()
| void hellfire::Mesh::draw |
( |
| ) |
const |
◆ draw_instanced()
| void hellfire::Mesh::draw_instanced |
( |
size_t |
amount | ) |
const |
◆ get_index_count()
| int hellfire::Mesh::get_index_count |
( |
| ) |
const |
◆ is_built()
| bool hellfire::Mesh::is_built |
( |
| ) |
const |
|
inline |
◆ unbind()
| void hellfire::Mesh::unbind |
( |
| ) |
const |
◆ ibo_
| std::unique_ptr<IB> hellfire::Mesh::ibo_ = nullptr |
|
private |
◆ index_count_
| int hellfire::Mesh::index_count_ |
|
private |
◆ indices
| std::vector<unsigned int> hellfire::Mesh::indices |
◆ is_wireframe
| bool hellfire::Mesh::is_wireframe = false |
◆ vao_
| std::unique_ptr<VA> hellfire::Mesh::vao_ = nullptr |
|
private |
◆ vbo_
| std::unique_ptr<VB> hellfire::Mesh::vbo_ = nullptr |
|
private |
◆ vertices
| std::vector<Vertex> hellfire::Mesh::vertices |
The documentation for this class was generated from the following files:
- engine/src/hellfire/graphics/Mesh.h
- engine/src/hellfire/graphics/Mesh.cpp