Karma Engine
Loading...
Searching...
No Matches
Karma::OpenGLVertexArray Class Reference
Inheritance diagram for Karma::OpenGLVertexArray:
Collaboration diagram for Karma::OpenGLVertexArray:

Public Member Functions

virtual void Bind () const override
 
virtual void UnBind () const override
 
virtual void AddVertexBuffer (const std::shared_ptr< VertexBuffer > &vertexBuffer) override
 
virtual void SetIndexBuffer (const std::shared_ptr< IndexBuffer > &indexBuffer) override
 
virtual void SetMesh (std::shared_ptr< Mesh > mesh) override
 
virtual void SetMaterial (std::shared_ptr< Material > material) override
 
virtual void SetShader (std::shared_ptr< Shader > shader) override
 
virtual const std::vector< std::shared_ptr< VertexBuffer > > & GetVertexBuffers () const override
 
virtual const IndexBufferGetIndexBuffer () const override
 
virtual std::shared_ptr< MaterialGetMaterial () const override
 
virtual void UpdateProcessAndSetReadyForSubmission () const override
 
- Public Member Functions inherited from Karma::VertexArray

Additional Inherited Members

- Static Public Member Functions inherited from Karma::VertexArray
static VertexArrayCreate ()
 

Member Function Documentation

◆ AddVertexBuffer()

void Karma::OpenGLVertexArray::AddVertexBuffer ( const std::shared_ptr< VertexBuffer > & vertexBuffer)
overridevirtual

Implements Karma::VertexArray.

◆ Bind()

void Karma::OpenGLVertexArray::Bind ( ) const
overridevirtual

Implements Karma::VertexArray.

◆ GetIndexBuffer()

virtual const IndexBuffer * Karma::OpenGLVertexArray::GetIndexBuffer ( ) const
inlineoverridevirtual

Implements Karma::VertexArray.

◆ GetMaterial()

virtual std::shared_ptr< Material > Karma::OpenGLVertexArray::GetMaterial ( ) const
inlineoverridevirtual

Implements Karma::VertexArray.

◆ GetVertexBuffers()

virtual const std::vector< std::shared_ptr< VertexBuffer > > & Karma::OpenGLVertexArray::GetVertexBuffers ( ) const
inlineoverridevirtual

Implements Karma::VertexArray.

◆ SetIndexBuffer()

void Karma::OpenGLVertexArray::SetIndexBuffer ( const std::shared_ptr< IndexBuffer > & indexBuffer)
overridevirtual

Implements Karma::VertexArray.

◆ SetMaterial()

void Karma::OpenGLVertexArray::SetMaterial ( std::shared_ptr< Material > material)
overridevirtual

Implements Karma::VertexArray.

◆ SetMesh()

void Karma::OpenGLVertexArray::SetMesh ( std::shared_ptr< Mesh > mesh)
overridevirtual

Implements Karma::VertexArray.

◆ SetShader()

virtual void Karma::OpenGLVertexArray::SetShader ( std::shared_ptr< Shader > shader)
inlineoverridevirtual

Implements Karma::VertexArray.

◆ UnBind()

void Karma::OpenGLVertexArray::UnBind ( ) const
overridevirtual

Implements Karma::VertexArray.

◆ UpdateProcessAndSetReadyForSubmission()

void Karma::OpenGLVertexArray::UpdateProcessAndSetReadyForSubmission ( ) const
overridevirtual

Implements Karma::VertexArray.


The documentation for this class was generated from the following files: