#include <external/RadixEngine/include/radix/core/gl/VBO.hpp>
|
| VBO () |
|
| VBO (std::size_t size, Usage usage=DefaultUsage) |
|
| ~VBO () |
|
| VBO (const VBO &)=delete |
|
VBO & | operator= (const VBO &)=delete |
|
| VBO (VBO &&) |
|
VBO & | operator= (VBO &&) |
|
| operator unsigned int () const |
|
void | setSize (std::size_t size, Usage usage=DefaultUsage) |
|
std::size_t | getSize () const |
|
void | setData (const void *data, std::size_t count, Usage usage=DefaultUsage) |
|
template<typename T > |
void | setData (const std::vector< T > &data, Usage usage=DefaultUsage) |
|
template<typename T > |
void | setData (const T *data, std::size_t count, Usage usage=DefaultUsage) |
|
void | update (const void *data, std::size_t count=0, std::size_t offset=0) |
|
template<typename T > |
void | update (const std::vector< T > &data, std::size_t count=0, std::size_t offset=0) |
|
template<typename T > |
void | update (const T *data, std::size_t count, std::size_t offset=0) |
|
void | bind () const |
|
|
std::size_t | size |
|
unsigned int | id |
|
Enumerator |
---|
Static |
|
Dynamic |
|
Stream |
|
Draw |
|
Read |
|
Copy |
|
radix::VBO::VBO |
( |
const VBO & |
| ) |
|
|
delete |
radix::VBO::VBO |
( |
VBO && |
other | ) |
|
void radix::VBO::bind |
( |
| ) |
const |
std::size_t radix::VBO::getSize |
( |
| ) |
const |
|
inline |
radix::VBO::operator unsigned int |
( |
| ) |
const |
|
inline |
VBO& radix::VBO::operator= |
( |
const VBO & |
| ) |
|
|
delete |
VBO & radix::VBO::operator= |
( |
VBO && |
other | ) |
|
void radix::VBO::setData |
( |
const void * |
data, |
|
|
std::size_t |
count, |
|
|
Usage |
usage = DefaultUsage |
|
) |
| |
template<typename T >
void radix::VBO::setData |
( |
const std::vector< T > & |
data, |
|
|
Usage |
usage = DefaultUsage |
|
) |
| |
|
inline |
template<typename T >
void radix::VBO::setData |
( |
const T * |
data, |
|
|
std::size_t |
count, |
|
|
Usage |
usage = DefaultUsage |
|
) |
| |
|
inline |
void radix::VBO::update |
( |
const void * |
data, |
|
|
std::size_t |
count = 0 , |
|
|
std::size_t |
offset = 0 |
|
) |
| |
template<typename T >
void radix::VBO::update |
( |
const std::vector< T > & |
data, |
|
|
std::size_t |
count = 0 , |
|
|
std::size_t |
offset = 0 |
|
) |
| |
|
inline |
template<typename T >
void radix::VBO::update |
( |
const T * |
data, |
|
|
std::size_t |
count, |
|
|
std::size_t |
offset = 0 |
|
) |
| |
|
inline |
unsigned int radix::VBO::id |
|
protected |
std::size_t radix::VBO::size |
|
protected |
The documentation for this class was generated from the following files:
- external/RadixEngine/include/radix/core/gl/VBO.hpp
- external/RadixEngine/source/core/gl/VBO.cpp