Brunot
Loading...
Searching...
No Matches
IndexBuffer Class Reference

#include <IndexBuffer.h>

Public Member Functions

 IndexBuffer (const unsigned int *data, unsigned int bytes, unsigned int indexCount)
 ~IndexBuffer ()
 IndexBuffer (const IndexBuffer &other)=default
 IndexBuffer (IndexBuffer &&other) noexcept=default
auto operator= (const IndexBuffer &other) -> IndexBuffer &=default
auto operator= (IndexBuffer &&other) noexcept -> IndexBuffer &=default
auto activate () const -> void
auto deactivate () const -> void
auto getID () const -> GLuint
auto count () const -> unsigned int

Private Attributes

GLuint ID
unsigned int elementCount

Constructor & Destructor Documentation

◆ IndexBuffer() [1/3]

IndexBuffer::IndexBuffer ( const unsigned int * data,
unsigned int bytes,
unsigned int indexCount )
Here is the caller graph for this function:

◆ ~IndexBuffer()

IndexBuffer::~IndexBuffer ( )

◆ IndexBuffer() [2/3]

IndexBuffer::IndexBuffer ( const IndexBuffer & other)
default
Here is the call graph for this function:

◆ IndexBuffer() [3/3]

IndexBuffer::IndexBuffer ( IndexBuffer && other)
defaultnoexcept
Here is the call graph for this function:

Member Function Documentation

◆ activate()

auto IndexBuffer::activate ( ) const->void
Here is the caller graph for this function:

◆ count()

auto IndexBuffer::count ( ) const->unsignedint
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ deactivate()

auto IndexBuffer::deactivate ( ) const->void
Here is the caller graph for this function:

◆ getID()

auto IndexBuffer::getID ( ) const->GLuint
Here is the caller graph for this function:

◆ operator=() [1/2]

auto IndexBuffer::operator= ( const IndexBuffer & other) ->IndexBuffer &=default
default
Here is the call graph for this function:

◆ operator=() [2/2]

auto IndexBuffer::operator= ( IndexBuffer && other) ->IndexBuffer &=default
defaultnoexcept
Here is the call graph for this function:

Member Data Documentation

◆ elementCount

unsigned int IndexBuffer::elementCount
private

◆ ID

GLuint IndexBuffer::ID
private

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