A class, comprising of Mesh and Material substances along with relevant setup, for a renderable unit.
More...
#include <VertexArray.h>
A class, comprising of Mesh and Material substances along with relevant setup, for a renderable unit.
◆ ~VertexArray()
virtual Karma::VertexArray::~VertexArray |
( |
| ) |
|
|
inlinevirtual |
A destructor.
- Since
- Karma 1.0.0
◆ Bind()
virtual void Karma::VertexArray::Bind |
( |
| ) |
const |
|
pure virtual |
◆ Create()
Create the VertexArray object based on the rendering API chosen by the programmer.
- Since
- Karma 1.0.0
◆ GetIndexBuffer()
virtual const IndexBuffer * Karma::VertexArray::GetIndexBuffer |
( |
| ) |
const |
|
pure virtual |
◆ GetMaterial()
virtual std::shared_ptr< Material > Karma::VertexArray::GetMaterial |
( |
| ) |
const |
|
pure virtual |
◆ GetVertexBuffers()
virtual const std::vector< std::shared_ptr< VertexBuffer > > & Karma::VertexArray::GetVertexBuffers |
( |
| ) |
const |
|
pure virtual |
◆ SetMaterial()
virtual void Karma::VertexArray::SetMaterial |
( |
std::shared_ptr< Material > | material | ) |
|
|
pure virtual |
◆ SetMesh()
virtual void Karma::VertexArray::SetMesh |
( |
std::shared_ptr< Mesh > | mesh | ) |
|
|
pure virtual |
◆ UnBind()
virtual void Karma::VertexArray::UnBind |
( |
| ) |
const |
|
pure virtual |
◆ UpdateProcessAndSetReadyForSubmission()
virtual void Karma::VertexArray::UpdateProcessAndSetReadyForSubmission |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following files:
- Karma/src/Karma/Renderer/VertexArray.h
- Karma/src/Karma/Renderer/VertexArray.cpp