Go to the documentation of this file.
24 enum class Type : unsigned int
106 #define BUFFER_OFFSET(offset) (reinterpret_cast<GLvoid*>(offset))
static struct FontData data
std::thread::id created_from
void createOnce()
Calls create() only if the buffer has not been created yet.
RAII_Impl(COpenGLBuffer::Type t)
void allocate(const void *data, int byteCount)
Reserves byteCount bytes in the buffer and copy to it the provided data.
void create()
Actually create the buffer, destroying any previously existing buffer.
COpenGLBuffer::Usage usage
std::shared_ptr< RAII_Impl > m_impl
unsigned int bufferId() const
A wrapper for an OpenGL buffer object.
void setUsage(const Usage u)
The namespace for 3D scene representation and rendering.
void destroy()
Automatically called upon destructor, no need for the user to call it in normal situations.
void allocate(const void *data, int byteCount)
Page generated by Doxygen 1.8.17 for MRPT 2.0.3 at Thu May 21 21:53:32 UTC 2020 | |