My Project
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
IndexBuffer Class Reference

#include <buffers.hh>

Collaboration diagram for IndexBuffer:
Collaboration graph

Public Member Functions

 IndexBuffer (const std::vector< unsigned int > data)
 
 ~IndexBuffer ()
 
void bind () const
 
void unbind () const
 
unsigned int get_count () const
 

Private Attributes

unsigned int ib_render_id
 
unsigned int ib_count
 

Constructor & Destructor Documentation

◆ IndexBuffer()

IndexBuffer::IndexBuffer ( const std::vector< unsigned int >  data)

◆ ~IndexBuffer()

IndexBuffer::~IndexBuffer ( )

Member Function Documentation

◆ bind()

void IndexBuffer::bind ( ) const

◆ get_count()

unsigned int IndexBuffer::get_count ( ) const
inline

◆ unbind()

void IndexBuffer::unbind ( ) const

Member Data Documentation

◆ ib_count

unsigned int IndexBuffer::ib_count
private

◆ ib_render_id

unsigned int IndexBuffer::ib_render_id
private

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