Untitled Game engine no.5  1.0
Public Member Functions | List of all members
Engine::GLIndexBuffer Class Reference
Inheritance diagram for Engine::GLIndexBuffer:
Inheritance graph
[legend]
Collaboration diagram for Engine::GLIndexBuffer:
Collaboration graph
[legend]

Public Member Functions

void Bind () override
 Binds this vertex buffer for drawing.
 
void Unbind () override
 Binds nothing for drawing.
 
void Load (unsigned int inds[], std::size_t size) override
 
size_t GetSize () override
 
- Public Member Functions inherited from Engine::IndexBuffer
 IndexBuffer ()
 Constructor.
 
virtual ~IndexBuffer ()
 Destructor.
 

Member Function Documentation

◆ Load()

void Engine::GLIndexBuffer::Load ( unsigned int  inds[],
std::size_t  size 
)
inlineoverridevirtual

Loads vertices into this buffer

Parameters
indsthe indices for this buffer
sizethe size of the array we are loading

Implements Engine::IndexBuffer.


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