MRPT  1.9.9
CTexturedObject.cpp File Reference
Include dependency graph for CTexturedObject.cpp:

Go to the source code of this file.

Classes

struct  CTexturedObject_MemPoolData
 

Macros

#define TEXTUREOBJ_USE_MEMPOOL
 

Typedefs

using TMyMemPool = mrpt::system::CGenericMemoryPool< CTexturedObject_MemPoolParams, CTexturedObject_MemPoolData >
 

Functions

 IMPLEMENTS_VIRTUAL_SERIALIZABLE (CTexturedObject, CRenderizableDisplayList, mrpt::opengl) struct CTexturedObject_MemPoolParams
 
unsigned char * reserveDataBuffer (const size_t len, vector< unsigned char > &data)
 

Macro Definition Documentation

◆ TEXTUREOBJ_USE_MEMPOOL

#define TEXTUREOBJ_USE_MEMPOOL

Typedef Documentation

◆ TMyMemPool

Definition at line 55 of file CTexturedObject.cpp.

Function Documentation

◆ IMPLEMENTS_VIRTUAL_SERIALIZABLE()

IMPLEMENTS_VIRTUAL_SERIALIZABLE ( CTexturedObject  ,
CRenderizableDisplayList  ,
mrpt::opengl   
)

size of the vector<unsigned char>

Definition at line 25 of file CTexturedObject.cpp.

◆ reserveDataBuffer()

unsigned char* reserveDataBuffer ( const size_t  len,
vector< unsigned char > &  data 
)

Definition at line 135 of file CTexturedObject.cpp.

References CTexturedObject_MemPoolData::data, mrpt::system::CGenericMemoryPool< DATA_PARAMS, POOLABLE_DATA >::getInstance(), and mrpt::system::CGenericMemoryPool< DATA_PARAMS, POOLABLE_DATA >::request_memory().

Referenced by mrpt::opengl::CTexturedObject::loadTextureInOpenGL().

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



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019