MRPT
2.0.0
|
Definition at line 84 of file COpenGLBuffer.h.
Public Member Functions | |
RAII_Impl (COpenGLBuffer::Type t) | |
~RAII_Impl () | |
void | create () |
void | destroy () |
void | bind () |
void | release () |
void | allocate (const void *data, int byteCount) |
Public Attributes | |
COpenGLBuffer::Type | type |
COpenGLBuffer::Usage | usage = COpenGLBuffer::Usage::StaticDraw |
bool | created = false |
unsigned int | buffer_id = 0 |
std::thread::id | created_from |
COpenGLBuffer::RAII_Impl::RAII_Impl | ( | COpenGLBuffer::Type | t | ) |
Definition at line 23 of file COpenGLBuffer.cpp.
COpenGLBuffer::RAII_Impl::~RAII_Impl | ( | ) |
Definition at line 24 of file COpenGLBuffer.cpp.
References mrpt::opengl::COpenGLBuffer::destroy().
void COpenGLBuffer::RAII_Impl::allocate | ( | const void * | data, |
int | byteCount | ||
) |
Definition at line 74 of file COpenGLBuffer.cpp.
References ASSERT_, mrpt::opengl::internal::data, mrpt::opengl::COpenGLBuffer::type(), and mrpt::opengl::COpenGLBuffer::usage().
void COpenGLBuffer::RAII_Impl::bind | ( | ) |
Definition at line 56 of file COpenGLBuffer.cpp.
References ASSERT_, and mrpt::opengl::COpenGLBuffer::type().
void COpenGLBuffer::RAII_Impl::create | ( | ) |
Definition at line 30 of file COpenGLBuffer.cpp.
References mrpt::opengl::COpenGLBuffer::destroy().
void COpenGLBuffer::RAII_Impl::destroy | ( | ) |
Definition at line 42 of file COpenGLBuffer.cpp.
References mrpt::opengl::COpenGLBuffer::release().
void COpenGLBuffer::RAII_Impl::release | ( | ) |
Definition at line 64 of file COpenGLBuffer.cpp.
References mrpt::opengl::COpenGLBuffer::type().
unsigned int mrpt::opengl::COpenGLBuffer::RAII_Impl::buffer_id = 0 |
Definition at line 99 of file COpenGLBuffer.h.
bool mrpt::opengl::COpenGLBuffer::RAII_Impl::created = false |
Definition at line 98 of file COpenGLBuffer.h.
std::thread::id mrpt::opengl::COpenGLBuffer::RAII_Impl::created_from |
Definition at line 100 of file COpenGLBuffer.h.
COpenGLBuffer::Type mrpt::opengl::COpenGLBuffer::RAII_Impl::type |
Definition at line 89 of file COpenGLBuffer.h.
COpenGLBuffer::Usage mrpt::opengl::COpenGLBuffer::RAII_Impl::usage = COpenGLBuffer::Usage::StaticDraw |
Definition at line 90 of file COpenGLBuffer.h.
Page generated by Doxygen 1.8.14 for MRPT 2.0.0 Git: b38439d21 Tue Mar 31 19:58:06 2020 +0200 at miƩ abr 1 00:50:30 CEST 2020 |