MeshLib C Docs
Loading...
Searching...
No Matches
MRScalarConvert.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/common.h>
4#include <MRCMisc/exports.h>
5
6#include <stdint.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct MR_std_function_float_from_const_char_ptr MR_std_function_float_from_const_char_ptr; // Defined in `#include <MRCMisc/std_function_float_from_const_char_ptr.h>`.
13
14
16typedef int32_t MR_ScalarType;
17enum // MR_ScalarType
18{
33};
34
42
43#ifdef __cplusplus
44} // extern "C"
45#endif
int32_t MR_ScalarType
scalar value's binary format type
Definition MRScalarConvert.h:16
@ MR_ScalarType_UInt8
Definition MRScalarConvert.h:19
@ MR_ScalarType_UInt32
Definition MRScalarConvert.h:23
@ MR_ScalarType_Count
Definition MRScalarConvert.h:32
@ MR_ScalarType_Int32
Definition MRScalarConvert.h:24
@ MR_ScalarType_Int64
Definition MRScalarConvert.h:26
@ MR_ScalarType_Unknown
Definition MRScalarConvert.h:31
@ MR_ScalarType_Int16
Definition MRScalarConvert.h:22
@ MR_ScalarType_Float64
the last value from float[4]
Definition MRScalarConvert.h:28
@ MR_ScalarType_Int8
Definition MRScalarConvert.h:20
@ MR_ScalarType_UInt64
Definition MRScalarConvert.h:25
@ MR_ScalarType_Float32_4
Definition MRScalarConvert.h:30
@ MR_ScalarType_Float32
Definition MRScalarConvert.h:27
@ MR_ScalarType_UInt16
Definition MRScalarConvert.h:21
MRC_API MR_std_function_float_from_const_char_ptr * MR_getTypeConverter(MR_ScalarType scalarType, MR_uint64_t range, MR_int64_t min)
int64_t MR_int64_t
Definition common.h:13
uint64_t MR_uint64_t
Definition common.h:14
#define MRC_API
Definition exports.h:11
struct MR_std_function_float_from_const_char_ptr MR_std_function_float_from_const_char_ptr
Definition std_function_float_from_const_char_ptr.h:15