Go to the source code of this file.
Typedefs | |
typedef struct MR_NoInit | MR_NoInit |
Generated from class MR::NoInit . | |
typedef char | MR_FilterType |
typedef char | MR_WrapType |
typedef char | MR_Reorder |
determines how points to be ordered | |
Enumerations | |
enum | { MR_FilterType_Linear = 0 , MR_FilterType_Discrete = 1 } |
enum | { MR_WrapType_Repeat = 0 , MR_WrapType_Mirror = 1 , MR_WrapType_Clamp = 2 } |
enum | { MR_Reorder_None = 0 , MR_Reorder_Lexicographically = 1 , MR_Reorder_AABBTree = 2 } |
Functions | |
MRC_API MR_NoInit * | MR_NoInit_DefaultConstruct (void) |
MRC_API MR_NoInit * | MR_NoInit_DefaultConstructArray (size_t num_elems) |
MRC_API const MR_NoInit * | MR_NoInit_OffsetPtr (const MR_NoInit *ptr, ptrdiff_t i) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. | |
MRC_API MR_NoInit * | MR_NoInit_OffsetMutablePtr (MR_NoInit *ptr, ptrdiff_t i) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. | |
MRC_API MR_NoInit * | MR_NoInit_ConstructFromAnother (const MR_NoInit *_other) |
MRC_API void | MR_NoInit_Destroy (const MR_NoInit *_this) |
Destroys a heap-allocated instance of MR_NoInit . Does nothing if the pointer is null. | |
MRC_API void | MR_NoInit_DestroyArray (const MR_NoInit *_this) |
Destroys a heap-allocated array of MR_NoInit . Does nothing if the pointer is null. | |
MRC_API MR_NoInit * | MR_NoInit_AssignFromAnother (MR_NoInit *_this, const MR_NoInit *_other) |
typedef char MR_FilterType |
Generated from class MR::NoInit
.
typedef char MR_Reorder |
determines how points to be ordered
typedef char MR_WrapType |
anonymous enum |
Generated from a method of class MR::NoInit
named operator=
. Parameter _this
can not be null. It is a single object. Parameter _other
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
Generated from a constructor of class MR::NoInit
. Parameter _other
can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_NoInit_Destroy()
to free it when you're done using it.
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_NoInit_Destroy()
to free it when you're done using it.
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_NoInit_DestroyArray()
. Use MR_NoInit_OffsetMutablePtr()
and MR_NoInit_OffsetPtr()
to access the array elements.
Destroys a heap-allocated instance of MR_NoInit
. Does nothing if the pointer is null.
Destroys a heap-allocated array of MR_NoInit
. Does nothing if the pointer is null.
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.