Go to the source code of this file.
Typedefs | |
typedef struct MR_Color | MR_Color |
typedef struct MR_SceneColors | MR_SceneColors |
typedef enum MR_SceneColors_Type | MR_SceneColors_Type |
Functions | |
MRC_API const MR_Color * | MR_SceneColors_get (MR_SceneColors_Type type) |
MRC_API void | MR_SceneColors_set (MR_SceneColors_Type type, const MR_Color *color) |
MRC_API const char * | MR_SceneColors_getName (MR_SceneColors_Type type) |
Generated from a method of class MR::SceneColors named getName . | |
MRC_API const MR_SceneColors * | MR_SceneColors_OffsetPtr (const MR_SceneColors *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_SceneColors * | MR_SceneColors_OffsetMutablePtr (MR_SceneColors *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. | |
typedef struct MR_Color MR_Color |
typedef struct MR_SceneColors MR_SceneColors |
This singleton struct contains default colors for scene objects Generated from class MR::SceneColors
.
typedef enum MR_SceneColors_Type MR_SceneColors_Type |
enum MR_SceneColors_Type |
MRC_API const MR_Color * MR_SceneColors_get | ( | MR_SceneColors_Type | type | ) |
Generated from a method of class MR::SceneColors
named get
. The returned pointer will never be null. It is non-owning, do NOT destroy it.
MRC_API const char * MR_SceneColors_getName | ( | MR_SceneColors_Type | type | ) |
Generated from a method of class MR::SceneColors
named getName
.
MRC_API MR_SceneColors * MR_SceneColors_OffsetMutablePtr | ( | MR_SceneColors * | 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 const MR_SceneColors * MR_SceneColors_OffsetPtr | ( | const MR_SceneColors * | 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 void MR_SceneColors_set | ( | MR_SceneColors_Type | type, |
const MR_Color * | color ) |
Generated from a method of class MR::SceneColors
named set
. Parameter color
can not be null. It is a single object.