Untitled Game engine no.5  1.0
Public Member Functions | List of all members
Engine::IndexBuffer Class Referenceabstract

Interface for a buffer of indices. More...

#include <Buffer.hpp>

Inheritance diagram for Engine::IndexBuffer:
Inheritance graph
[legend]

Public Member Functions

 IndexBuffer ()
 Constructor.
 
virtual ~IndexBuffer ()
 Destructor.
 
virtual void Bind ()=0
 Binds this vertex buffer for drawing.
 
virtual void Unbind ()=0
 Binds nothing for drawing.
 
virtual void Load (unsigned int inds[], std::size_t size)=0
 
virtual std::size_t GetSize ()=0
 

Detailed Description

Interface for a buffer of indices.

Member Function Documentation

◆ Load()

virtual void Engine::IndexBuffer::Load ( unsigned int  inds[],
std::size_t  size 
)
pure virtual

Loads vertices into this buffer

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

Implemented in Engine::GLIndexBuffer.


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