MRPT  1.9.9
List of all members | Public Member Functions | Public Attributes
mrpt::opengl::COpenGLVertexArrayObject::RAII_Impl Struct Reference

Detailed Description

Definition at line 48 of file COpenGLVertexArrayObject.h.

Public Member Functions

 RAII_Impl ()=default
 
 ~RAII_Impl ()
 
void create ()
 
void destroy ()
 
void bind ()
 
void release ()
 
void allocate (const void *data, int byteCount)
 

Public Attributes

bool created = false
 
unsigned int buffer_id = 0
 
std::thread::id created_from
 

Constructor & Destructor Documentation

◆ RAII_Impl()

mrpt::opengl::COpenGLVertexArrayObject::RAII_Impl::RAII_Impl ( )
default

◆ ~RAII_Impl()

COpenGLVertexArrayObject::RAII_Impl::~RAII_Impl ( )

Definition at line 24 of file COpenGLVertexArrayObject.cpp.

References destroy().

Here is the call graph for this function:

Member Function Documentation

◆ allocate()

void mrpt::opengl::COpenGLVertexArrayObject::RAII_Impl::allocate ( const void *  data,
int  byteCount 
)

◆ bind()

void COpenGLVertexArrayObject::RAII_Impl::bind ( )

Definition at line 57 of file COpenGLVertexArrayObject.cpp.

References ASSERT_.

◆ create()

void COpenGLVertexArrayObject::RAII_Impl::create ( )

Definition at line 30 of file COpenGLVertexArrayObject.cpp.

References mrpt::opengl::COpenGLVertexArrayObject::destroy().

Here is the call graph for this function:

◆ destroy()

void COpenGLVertexArrayObject::RAII_Impl::destroy ( )

Definition at line 42 of file COpenGLVertexArrayObject.cpp.

References mrpt::opengl::COpenGLVertexArrayObject::release().

Referenced by ~RAII_Impl().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ release()

void COpenGLVertexArrayObject::RAII_Impl::release ( )

Definition at line 65 of file COpenGLVertexArrayObject.cpp.

Member Data Documentation

◆ buffer_id

unsigned int mrpt::opengl::COpenGLVertexArrayObject::RAII_Impl::buffer_id = 0

Definition at line 60 of file COpenGLVertexArrayObject.h.

◆ created

bool mrpt::opengl::COpenGLVertexArrayObject::RAII_Impl::created = false

Definition at line 59 of file COpenGLVertexArrayObject.h.

◆ created_from

std::thread::id mrpt::opengl::COpenGLVertexArrayObject::RAII_Impl::created_from

Definition at line 61 of file COpenGLVertexArrayObject.h.




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 3a26b90fd Wed Mar 25 20:17:03 2020 +0100 at miƩ mar 25 23:05:41 CET 2020