Go to the source code of this file.
Typedefs | |
typedef struct MR_Object | MR_Object |
typedef struct MR_expected_std_shared_ptr_MR_Object_std_string | MR_expected_std_shared_ptr_MR_Object_std_string |
typedef struct MR_expected_void_std_string | MR_expected_void_std_string |
typedef struct MR_std_function_bool_from_float | MR_std_function_bool_from_float |
Functions | |
MRC_API MR_expected_std_shared_ptr_MR_Object_std_string * | MR_deserializeObjectTreeFromGltf (const char *file, const char *file_end, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback) |
MRC_API MR_expected_void_std_string * | MR_serializeObjectTreeToGltf (const MR_Object *root, const char *file, const char *file_end, MR_PassBy callback_pass_by, MR_std_function_bool_from_float *callback) |
typedef struct MR_expected_std_shared_ptr_MR_Object_std_string MR_expected_std_shared_ptr_MR_Object_std_string |
typedef struct MR_expected_void_std_string MR_expected_void_std_string |
typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float |
MRC_API MR_expected_std_shared_ptr_MR_Object_std_string * MR_deserializeObjectTreeFromGltf | ( | const char * | file, |
const char * | file_end, | ||
MR_PassBy | callback_pass_by, | ||
MR_std_function_bool_from_float * | callback ) |
Generated from function MR::deserializeObjectTreeFromGltf
. Parameter file
is a UTF-8 encoded filesystem path. Parameter callback
has a default argument: {}
, pass MR_PassBy_DefaultArgument
and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_std_shared_ptr_MR_Object_std_string_Destroy()
to free it when you're done using it.
MRC_API MR_expected_void_std_string * MR_serializeObjectTreeToGltf | ( | const MR_Object * | root, |
const char * | file, | ||
const char * | file_end, | ||
MR_PassBy | callback_pass_by, | ||
MR_std_function_bool_from_float * | callback ) |
Generated from function MR::serializeObjectTreeToGltf
. Parameter root
can not be null. It is a single object. Parameter file
is a UTF-8 encoded filesystem path. Parameter callback
has a default argument: {}
, pass MR_PassBy_DefaultArgument
and a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy()
to free it when you're done using it.