|
Aeon Engine c550894
AeonGames Open Source Game Engine
|
OpenGL mesh wrapper managing vertex and index buffers. More...
#include <C:/Code/AeonEngine/engine/renderers/opengl/OpenGLMesh.hpp>

Public Member Functions | |
| OpenGLMesh (const OpenGLRenderer &aOpenGLRenderer, const Mesh &aMesh) | |
| Construct from a renderer and mesh resource. | |
| OpenGLMesh (OpenGLMesh &&aOpenGLMesh) | |
| Move constructor. | |
| OpenGLMesh (const OpenGLMesh &aOpenGLMesh)=delete | |
| OpenGLMesh & | operator= (const OpenGLMesh &aOpenGLMesh)=delete |
| OpenGLMesh & | operator= (OpenGLMesh &&aOpenGLMesh)=delete |
| void | Bind () const |
| Bind the vertex and index buffers. | |
| void | EnableAttributes (const std::vector< OpenGLVariable > &aAttributes) const |
| Enable the specified vertex attributes for rendering. | |
| void | DisableAttributes (const std::vector< OpenGLVariable > &aAttributes) const |
| Disable the specified vertex attributes. | |
OpenGL mesh wrapper managing vertex and index buffers.
Definition at line 27 of file OpenGLMesh.hpp.
| AeonGames::OpenGLMesh::OpenGLMesh | ( | const OpenGLRenderer & | aOpenGLRenderer, |
| const Mesh & | aMesh ) |
Construct from a renderer and mesh resource.
Definition at line 26 of file OpenGLMesh.cpp.
| AeonGames::OpenGLMesh::OpenGLMesh | ( | OpenGLMesh && | aOpenGLMesh | ) |
Move constructor.
Definition at line 41 of file OpenGLMesh.cpp.
| void AeonGames::OpenGLMesh::Bind | ( | ) | const |
Bind the vertex and index buffers.
Definition at line 62 of file OpenGLMesh.cpp.
| void AeonGames::OpenGLMesh::DisableAttributes | ( | const std::vector< OpenGLVariable > & | aAttributes | ) | const |
Disable the specified vertex attributes.
Definition at line 127 of file OpenGLMesh.cpp.
| void AeonGames::OpenGLMesh::EnableAttributes | ( | const std::vector< OpenGLVariable > & | aAttributes | ) | const |
Enable the specified vertex attributes for rendering.
Definition at line 68 of file OpenGLMesh.cpp.