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

Public Member Functions

 OpenGLVertexBuffer (float *vertices, uint32_t size)
 
virtual void Bind () const override
 
virtual void UnBind () const override
 
virtual const BufferLayoutGetLayout () const override
 
virtual void SetLayout (const BufferLayout &layout) override
 
- Public Member Functions inherited from Karma::VertexBuffer

Additional Inherited Members

- Static Public Member Functions inherited from Karma::VertexBuffer
static VertexBufferCreate (float *vertices, uint32_t size)
 

Member Function Documentation

◆ Bind()

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

Implements Karma::VertexBuffer.

◆ GetLayout()

virtual const BufferLayout & Karma::OpenGLVertexBuffer::GetLayout ( ) const
inlineoverridevirtual

Implements Karma::VertexBuffer.

◆ SetLayout()

void Karma::OpenGLVertexBuffer::SetLayout ( const BufferLayout & layout)
overridevirtual

Implements Karma::VertexBuffer.

◆ UnBind()

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

Implements Karma::VertexBuffer.


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