MRPT
2.0.4
|
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 28 of file COpenGLBuffer.cpp.
COpenGLBuffer::RAII_Impl::~RAII_Impl | ( | ) |
Definition at line 29 of file COpenGLBuffer.cpp.
References mrpt::opengl::COpenGLBuffer::destroy().
void COpenGLBuffer::RAII_Impl::allocate | ( | const void * | data, |
int | byteCount | ||
) |
Definition at line 101 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 83 of file COpenGLBuffer.cpp.
References ASSERT_, and mrpt::opengl::COpenGLBuffer::type().
void COpenGLBuffer::RAII_Impl::create | ( | ) |
Definition at line 35 of file COpenGLBuffer.cpp.
References mrpt::opengl::COpenGLBuffer::destroy().
void COpenGLBuffer::RAII_Impl::destroy | ( | ) |
Definition at line 47 of file COpenGLBuffer.cpp.
References mrpt::system::TCallStackBackTrace::asString(), mrpt::system::getCallStackBackTrace(), mrpt::Clock::now(), mrpt::opengl::COpenGLBuffer::release(), and mrpt::Clock::toDouble().
void COpenGLBuffer::RAII_Impl::release | ( | ) |
Definition at line 91 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.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020 |