Go to the source code of this file.
Typedefs | |
| typedef struct MR_Mesh | MR_Mesh |
| typedef struct MR_SphereParams | MR_SphereParams |
| typedef struct MR_SphereParams MR_SphereParams |
Generated from class MR::SphereParams. 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).
| MRC_API MR_Mesh * MR_makeSphere | ( | const MR_SphereParams * | params | ) |
creates a mesh of sphere with irregular triangulation Generated from function MR::makeSphere. Parameter params can not be null. It is a single object. Never returns null. Returns an instance allocated on the heap! Must call MR_Mesh_Destroy() to free it when you're done using it.
| MRC_API MR_Mesh * MR_makeUVSphere | ( | const float * | radius, |
| const int * | horisontalResolution, | ||
| const int * | verticalResolution ) |
creates a mesh of sphere with regular triangulation (parallels and meridians) Generated from function MR::makeUVSphere. Parameter radius has a default argument: 1.0, pass a null pointer to use it. Parameter horisontalResolution has a default argument: 16, pass a null pointer to use it. Parameter verticalResolution has a default argument: 16, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_Mesh_Destroy() to free it when you're done using it.
| MRC_API MR_SphereParams * MR_SphereParams_AssignFromAnother | ( | MR_SphereParams * | _this, |
| const MR_SphereParams * | _other ) |
Generated from method MR::SphereParams::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_SphereParams * MR_SphereParams_ConstructFrom | ( | float | radius, |
| int | numMeshVertices ) |
Constructs MR::SphereParams elementwise. Never returns null. Returns an instance allocated on the heap! Must call MR_SphereParams_Destroy() to free it when you're done using it. When this function is called, this object will drop any object references it had previously.
| MRC_API MR_SphereParams * MR_SphereParams_ConstructFromAnother | ( | const MR_SphereParams * | _other | ) |
Generated from constructor MR::SphereParams::SphereParams. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_SphereParams_Destroy() to free it when you're done using it.
| MRC_API MR_SphereParams * MR_SphereParams_DefaultConstruct | ( | void | ) |
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_SphereParams_Destroy() to free it when you're done using it.
| MRC_API MR_SphereParams * MR_SphereParams_DefaultConstructArray | ( | size_t | num_elems | ) |
Constructs an array of empty (default-constructed) instances, of the specified size. Will never return null. The array must be destroyed using MR_SphereParams_DestroyArray(). Use MR_SphereParams_OffsetMutablePtr() and MR_SphereParams_OffsetPtr() to access the array elements.
| MRC_API void MR_SphereParams_Destroy | ( | const MR_SphereParams * | _this | ) |
Destroys a heap-allocated instance of MR_SphereParams. Does nothing if the pointer is null.
| MRC_API void MR_SphereParams_DestroyArray | ( | const MR_SphereParams * | _this | ) |
Destroys a heap-allocated array of MR_SphereParams. Does nothing if the pointer is null.
| MRC_API const int * MR_SphereParams_Get_numMeshVertices | ( | const MR_SphereParams * | _this | ) |
Returns a pointer to a member variable of class MR::SphereParams named numMeshVertices. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API const float * MR_SphereParams_Get_radius | ( | const MR_SphereParams * | _this | ) |
Returns a pointer to a member variable of class MR::SphereParams named radius. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API int * MR_SphereParams_GetMutable_numMeshVertices | ( | MR_SphereParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::SphereParams named numMeshVertices. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API float * MR_SphereParams_GetMutable_radius | ( | MR_SphereParams * | _this | ) |
Returns a mutable pointer to a member variable of class MR::SphereParams named radius. Parameter _this can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
| MRC_API MR_SphereParams * MR_SphereParams_OffsetMutablePtr | ( | MR_SphereParams * | 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. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_SphereParams * MR_SphereParams_OffsetPtr | ( | const MR_SphereParams * | 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. The reference to the parameter ptr might be preserved in the return value.
| MRC_API void MR_SphereParams_Set_numMeshVertices | ( | MR_SphereParams * | _this, |
| int | value ) |
Modifies a member variable of class MR::SphereParams named numMeshVertices. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in numMeshVertices.
| MRC_API void MR_SphereParams_Set_radius | ( | MR_SphereParams * | _this, |
| float | value ) |
Modifies a member variable of class MR::SphereParams named radius. Parameter _this can not be null. It is a single object. When this function is called, this object will drop object references it had previously in radius.