#include <MRRenderGLHelpers.h>
|
| GlBuffer ()=default |
|
| GlBuffer (const GlBuffer &)=delete |
|
| GlBuffer (GlBuffer &&r) |
|
| ~GlBuffer () |
|
GlBuffer & | operator= (const GlBuffer &)=delete |
|
GlBuffer & | operator= (GlBuffer &&r) |
|
auto | getId () const |
|
bool | valid () const |
|
size_t | size () const |
|
MRVIEWER_API void | gen () |
|
MRVIEWER_API void | del () |
|
MRVIEWER_API void | bind (GLenum target) |
|
MRVIEWER_API void | loadData (GLenum target, const char *arr, size_t arrSize) |
|
template<typename T > |
void | loadData (GLenum target, const T *arr, size_t arrSize) |
|
template<typename C > |
void | loadData (GLenum target, const C &cont) |
|
MRVIEWER_API void | loadDataOpt (GLenum target, bool refresh, const char *arr, size_t arrSize) |
|
template<typename T > |
void | loadDataOpt (GLenum target, bool refresh, const T *arr, size_t arrSize) |
|
template<typename C > |
void | loadDataOpt (GLenum target, bool refresh, const C &cont) |
|
◆ GlBuffer() [1/3]
MR::GlBuffer::GlBuffer |
( |
| ) |
|
|
default |
◆ GlBuffer() [2/3]
MR::GlBuffer::GlBuffer |
( |
const GlBuffer & | | ) |
|
|
delete |
◆ GlBuffer() [3/3]
◆ ~GlBuffer()
MR::GlBuffer::~GlBuffer |
( |
| ) |
|
|
inline |
◆ bind()
MRVIEWER_API void MR::GlBuffer::bind |
( |
GLenum | target | ) |
|
◆ del()
MRVIEWER_API void MR::GlBuffer::del |
( |
| ) |
|
◆ gen()
MRVIEWER_API void MR::GlBuffer::gen |
( |
| ) |
|
◆ getId()
auto MR::GlBuffer::getId |
( |
| ) |
const |
|
inline |
◆ loadData() [1/3]
template<typename C >
void MR::GlBuffer::loadData |
( |
GLenum | target, |
|
|
const C & | cont ) |
|
inline |
◆ loadData() [2/3]
MRVIEWER_API void MR::GlBuffer::loadData |
( |
GLenum | target, |
|
|
const char * | arr, |
|
|
size_t | arrSize ) |
◆ loadData() [3/3]
template<typename T >
void MR::GlBuffer::loadData |
( |
GLenum | target, |
|
|
const T * | arr, |
|
|
size_t | arrSize ) |
|
inline |
◆ loadDataOpt() [1/3]
template<typename C >
void MR::GlBuffer::loadDataOpt |
( |
GLenum | target, |
|
|
bool | refresh, |
|
|
const C & | cont ) |
|
inline |
◆ loadDataOpt() [2/3]
MRVIEWER_API void MR::GlBuffer::loadDataOpt |
( |
GLenum | target, |
|
|
bool | refresh, |
|
|
const char * | arr, |
|
|
size_t | arrSize ) |
◆ loadDataOpt() [3/3]
template<typename T >
void MR::GlBuffer::loadDataOpt |
( |
GLenum | target, |
|
|
bool | refresh, |
|
|
const T * | arr, |
|
|
size_t | arrSize ) |
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ size()
size_t MR::GlBuffer::size |
( |
| ) |
const |
|
inline |
◆ valid()
bool MR::GlBuffer::valid |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: