MRPT  2.0.3
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 2.0.3 Git: 8e9e8af54 Wed May 13 17:41:24 2020 +0200 at miƩ may 13 17:55:54 CEST 2020