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

#include <buffers.hh>

Collaboration diagram for VertexBufferLayout:
Collaboration graph

Public Member Functions

 VertexBufferLayout ()
 
template<typename T >
void push (unsigned int count)
 
const std::vector< VertexBufferElements > & get_elements () const
 
unsigned int get_stride () const
 
template<>
void push (unsigned int count)
 
template<>
void push (unsigned int count)
 
template<>
void push (unsigned int count)
 

Private Attributes

std::vector< VertexBufferElementsvbl_elements
 
unsigned int vbl_stride
 

Constructor & Destructor Documentation

◆ VertexBufferLayout()

VertexBufferLayout::VertexBufferLayout ( )
inline

Member Function Documentation

◆ get_elements()

const std::vector< VertexBufferElements > & VertexBufferLayout::get_elements ( ) const
inline

◆ get_stride()

unsigned int VertexBufferLayout::get_stride ( ) const
inline

◆ push() [1/4]

template<>
void VertexBufferLayout::push ( unsigned int  count)

◆ push() [2/4]

template<>
void VertexBufferLayout::push ( unsigned int  count)

◆ push() [3/4]

template<>
void VertexBufferLayout::push ( unsigned int  count)

◆ push() [4/4]

template<typename T >
void VertexBufferLayout::push ( unsigned int  count)

Member Data Documentation

◆ vbl_elements

std::vector<VertexBufferElements> VertexBufferLayout::vbl_elements
private

◆ vbl_stride

unsigned int VertexBufferLayout::vbl_stride
private

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