Loading...
Searching...
No Matches
VB Class Reference

#include <VB.h>

Collaboration diagram for VB:

Public Member Functions

 VB ()
 
 ~VB ()
 
void bind ()
 
void unbind ()
 
template<typename T >
void pass_data (const T *data, size_t count) const
 
template<typename T >
void pass_data (const std::vector< T > &data) const
 
template<typename T >
void pass_dynamic_data (const std::vector< T > &data) const
 

Private Attributes

uint32_t m_renderer_id_
 

Detailed Description

Definition at line 6 of file VB.h.

Constructor & Destructor Documentation

◆ VB()

VB::VB ( )

Definition at line 4 of file VB.cpp.

◆ ~VB()

VB::~VB ( )

Definition at line 9 of file VB.cpp.

Member Function Documentation

◆ bind()

void VB::bind ( )

Definition at line 14 of file VB.cpp.

◆ pass_data() [1/2]

template<typename T >
void VB::pass_data ( const std::vector< T > &  data) const
inline

Definition at line 22 of file VB.h.

◆ pass_data() [2/2]

template<typename T >
void VB::pass_data ( const T *  data,
size_t  count 
) const
inline

Definition at line 16 of file VB.h.

◆ pass_dynamic_data()

template<typename T >
void VB::pass_dynamic_data ( const std::vector< T > &  data) const
inline

Definition at line 28 of file VB.h.

◆ unbind()

void VB::unbind ( )

Definition at line 19 of file VB.cpp.

Member Data Documentation

◆ m_renderer_id_

uint32_t VB::m_renderer_id_
private

Definition at line 8 of file VB.h.


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