MeshLib C Docs
Loading...
Searching...
No Matches
MRHeapBytes.h File Reference
#include <MRCMisc/common.h>
#include <MRCMisc/exports.h>

Go to the source code of this file.

Typedefs

typedef struct MR_std_shared_ptr_MR_PointCloud MR_std_shared_ptr_MR_PointCloud
typedef struct MR_std_vector_std_shared_ptr_MR_Object MR_std_vector_std_shared_ptr_MR_Object

Functions

MRC_API MR_uint64_t MR_heapBytes_MR_Color (const MR_std_vector_MR_Color *vec)
MRC_API MR_uint64_t MR_heapBytes_uint64_t (const MR_std_vector_uint64_t *vec)
MRC_API MR_uint64_t MR_heapBytes_std_shared_ptr_MR_Object (const MR_std_vector_std_shared_ptr_MR_Object *vec)
MRC_API MR_uint64_t MR_heapBytes_float (const MR_std_vector_float *vec)
MRC_API MR_uint64_t MR_heapBytes_MR_MeshTexture_MR_TextureId (const MR_Vector_MR_MeshTexture_MR_TextureId *vec)
MRC_API MR_uint64_t MR_heapBytes_MR_PointCloud (const MR_std_shared_ptr_MR_PointCloud *ptr)
MRC_API MR_uint64_t MR_heapBytes_MR_Polyline3 (const MR_std_shared_ptr_MR_Polyline3 *ptr)
MRC_API MR_uint64_t MR_heapBytes_MR_Object (const MR_std_shared_ptr_MR_Object *ptr)
MRC_API MR_uint64_t MR_heapBytes_MR_Mesh (const MR_std_shared_ptr_MR_Mesh *ptr)

Typedef Documentation

◆ MR_std_shared_ptr_MR_PointCloud

Wraps a pointer to a single shared reference-counted heap-allocated MR::PointCloud. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

◆ MR_std_vector_std_shared_ptr_MR_Object

Generated from C++ container std::vector<std::shared_ptr<MR::Object>>. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

Function Documentation

◆ MR_heapBytes_float()

MRC_API MR_uint64_t MR_heapBytes_float ( const MR_std_vector_float * vec)

returns the amount of memory given vector occupies on heap Generated from function MR::heapBytes<float>. Parameter vec can not be null. It is a single object.

◆ MR_heapBytes_MR_Color()

MRC_API MR_uint64_t MR_heapBytes_MR_Color ( const MR_std_vector_MR_Color * vec)

returns the amount of memory given vector occupies on heap Generated from function MR::heapBytes<MR::Color>. Parameter vec can not be null. It is a single object.

◆ MR_heapBytes_MR_Mesh()

MRC_API MR_uint64_t MR_heapBytes_MR_Mesh ( const MR_std_shared_ptr_MR_Mesh * ptr)

returns the amount of memory this smart pointer and its pointed object own together on heap Generated from function MR::heapBytes<MR::Mesh>. Parameter ptr can not be null. It is a single object.

◆ MR_heapBytes_MR_MeshTexture_MR_TextureId()

MRC_API MR_uint64_t MR_heapBytes_MR_MeshTexture_MR_TextureId ( const MR_Vector_MR_MeshTexture_MR_TextureId * vec)

Generated from function MR::heapBytes<MR::MeshTexture, MR::TextureId>. Parameter vec can not be null. It is a single object.

◆ MR_heapBytes_MR_Object()

MRC_API MR_uint64_t MR_heapBytes_MR_Object ( const MR_std_shared_ptr_MR_Object * ptr)

returns the amount of memory this smart pointer and its pointed object own together on heap Generated from function MR::heapBytes<MR::Object>. Parameter ptr can not be null. It is a single object.

◆ MR_heapBytes_MR_PointCloud()

MRC_API MR_uint64_t MR_heapBytes_MR_PointCloud ( const MR_std_shared_ptr_MR_PointCloud * ptr)

returns the amount of memory this smart pointer and its pointed object own together on heap Generated from function MR::heapBytes<MR::PointCloud>. Parameter ptr can not be null. It is a single object.

◆ MR_heapBytes_MR_Polyline3()

MRC_API MR_uint64_t MR_heapBytes_MR_Polyline3 ( const MR_std_shared_ptr_MR_Polyline3 * ptr)

returns the amount of memory this smart pointer and its pointed object own together on heap Generated from function MR::heapBytes<MR::Polyline3>. Parameter ptr can not be null. It is a single object.

◆ MR_heapBytes_std_shared_ptr_MR_Object()

MRC_API MR_uint64_t MR_heapBytes_std_shared_ptr_MR_Object ( const MR_std_vector_std_shared_ptr_MR_Object * vec)

returns the amount of memory given vector occupies on heap Generated from function MR::heapBytes<std::shared_ptr<MR::Object>>. Parameter vec can not be null. It is a single object.

◆ MR_heapBytes_uint64_t()

MRC_API MR_uint64_t MR_heapBytes_uint64_t ( const MR_std_vector_uint64_t * vec)

returns the amount of memory given vector occupies on heap Generated from function MR::heapBytes<MR_uint64_t>. Parameter vec can not be null. It is a single object.