|
CeresEngine 0.2.0
A game development framework
|
Go to the source code of this file.
Macros | |
| #define | CE_PLATFORM_WINDOWS 0 |
| Generated code will run under Windows. | |
| #define | CE_PLATFORM_WIN32 0 |
| Generated code will run under WIN32 API. | |
| #define | CE_PLATFORM_POSIX 0 |
| Generated code will run under some POSIX-compliant OS (including macOS). | |
| #define | CE_PLATFORM_LINUX 0 |
| Generated code will run under Linux. | |
| #define | CE_PLATFORM_ANDROID 0 |
| Generated code will run under Android. | |
| #define | CE_PLATFORM_BSD 0 |
| Generated code will run under a BSD system. | |
| #define | CE_PLATFORM_FREEBSD 0 |
| Generated code will run under a FreeBSD system. | |
| #define | CE_PLATFORM_APPLE 0 |
| Generated code will run under an Apple operating system. | |
| #define | CE_PLATFORM_MAC 0 |
| Generated code will run under macOS. | |
| #define | CE_PLATFORM_IOS 0 |
| Generated code will run under iOS. | |
| #define | CE_PLATFORM_WEB 0 |
| Generated code will run on the web. | |
| #define | CE_PLATFORM_EMSCRIPTEN 0 |
| Generated code will run on the web with Emscripten. | |
| #define | CE_PLATFORM_WASI 0 |
| Generated code will run on the web with WASI. | |
| #define | CE_PLATFORM_CHEERP 0 |
| Generated code will run on the web with Cheerp. | |
| #define | CE_COMPILER_CLANG 0 |
| Code will be compiled with Clang. | |
| #define | CE_COMPILER_MSVC 0 |
| Code will be compiled with MSVC. | |
| #define | CE_COMPILER_CLANGCL 0 |
| Code will be compiled with Clang (with ClangCL). | |
| #define | CE_COMPILER_GNUC 0 |
| Code will be compiled with GCC. | |
| #define | CE_COMPILER_INTEL 0 |
| Code will be compiled with Intel compiler. | |
| #define | CE_ARCHITECTURE_X86 0 |
| Compiler is generating x86 instructions. | |
| #define | CE_ARCHITECTURE_X86_32 0 |
| Compiler is generating x86 instructions for 32-bit mode. | |
| #define | CE_ARCHITECTURE_X86_64 0 |
| Compiler is generating x86 instructions for 64-bit mode. | |
| #define | CE_ARCHITECTURE_ARM 0 |
| Compiler is generating ARM instructions. | |
| #define | CE_ARCHITECTURE_ARM32 0 |
| Compiler is generating ARM instructions for 32-bit mode. | |
| #define | CE_ARCHITECTURE_ARM64 0 |
| Compiler is generating ARM instructions for 64-bit mode. | |
| #define | CE_ARCHITECTURE_WASM 0 |
| Compiler is generating WebAssembly instructions. | |
| #define | CE_ARCHITECTURE_WASM32 0 |
| Compiler is generating WebAssembly instructions for 32-bit mode. | |
| #define | CE_ARCHITECTURE_WASM64 0 |
| Compiler is generating WebAssembly instructions for 64-bit mode. | |
| #define | CE_ARCHITECTURE_IS_32BIT CE_ARCHITECTURE_X86_32 || CE_ARCHITECTURE_ARM32 || CE_ARCHITECTURE_WASM32 |
| Determines if the target architecture is 32-bit. | |
| #define | CE_ARCHITECTURE_IS_64BIT CE_ARCHITECTURE_X86_64 || CE_ARCHITECTURE_ARM64 || CE_ARCHITECTURE_WASM64 |
| Determines if the target architecture is 64-bit. | |
| #define | CE_VISIBLE __attribute__((visibility("default"))) |
The CE_VISIBLE macro marks a symbol as visible in a binary. | |
| #define | CE_HIDDEN __attribute__((visibility("hidden"))) |
The CE_HIDDEN macro marks a symbol as hidden in a binary. | |
| #define | CE_DLL_EXPORT CE_VISIBLE |
The CE_DLL_EXPORT macro marks a symbol as expoted in a DLL. | |
| #define | CE_DLL_IMPORT CE_VISIBLE |
The CE_DLL_IMPORT macro marks a symbol as imported from a DLL. | |
| #define | CE_EXPORT |
The CE_EXPORT macro marks a symbol as exported in a DLL. | |
| #define | CE_SCRIPT_EXPORT(...) |
The CE_SCRIPT_EXPORT macro marks a class or method as exportable and available in scripting environments. | |
| #define | CEReflectable(...) |
The CEReflectable macro marks a class or method as reflectable and available in reflection environments. | |
| #define | CE_BIND_THIS(function) |
| Binds a member function as a callable lambda function. | |
| #define | CE_DEPRECATED [[deprecated]] |
| #define | CE_DEPRECATED_MSG(Message) [[deprecated(Message)]] |
| #define | CE_NON_NULL |
The CE_NON_NULL nullability qualifier indicates that null is not a meaningful value for a value of the pointer type. | |
| #define | CE_NULLABLE |
The CE_NULLABLE nullability qualifier indicates that a value of the pointer type can be null. | |
| #define | CE_NULL_UNSPECIFIED |
The CE_NULL_UNSPECIFIED nullability qualifier indicates that neither the CE_NON_NULL nor CE_NULLABLE qualifiers make sense for a particular pointer type. It is used primarily to indicate that the role of null with specific pointers in a nullability-annotated header is unclear, e.g., due to overly-complex implementations or historical factors with a long-lived API. | |
| #define | CE_EXPECTS(...) |
| #define | CE_ENSURES(...) |
| #define | CE_ASSERT(...) assert(__VA_ARGS__) |
| #define | CE_ASSERT_UNDEFINED() |
| #define | CE_ASSERT_UNIMPLEMENTED() |
| #define | CE_ASSERT_DEBUG(...) CE_ASSERT(__VA_ARGS__) |
| #define | CE_CONCEPT(Name) typename |
| #define | CE_CONCEPT_REQUIRES(...) |
| #define | CE_NOINLINE |
| #define | CE_UNREACHABLE std::abort() |
| #define | CE_FORCE_INLINE |
| #define | CE_FORCE_INLINE |
| #define | CE_COLD |
| #define | CE_LIKELY |
| #define | CE_UNLIKELY |
| #define | CE_NO_UNIQUE_ADDRESS |
| #define | CE_EXPLICIT(EXPR) |
| #define | CE_EXPLICIT_FALSE CE_EXPLICIT(false) |
| #define | CE_DISABLE_WARNING_PUSH |
| #define | CE_DISABLE_WARNING_POP |
| #define | CE_DISABLE_ALL_WARNINGS |
| #define | CE_DISABLE_WARNING_UNREFERENCED_FORMAL_PARAMETER |
| #define | CE_DISABLE_WARNING_UNREFERENCED_FUNCTION |
| #define | CE_DISABLE_WARNING_TAUTOLOGICAL_COMPARE |
| #define | CE_DISABLE_WARNING_REORDER |
| #define | CE_DISABLE_WARNING_UNUSED_VARIABLE |
| #define | CE_DISABLE_WARNING_UNINITIALIZED_VARIABLE |
| #define | CE_DISABLE_WARNING_MISSING_FIELD_INITIALIZERS |
| #define | CE_DISABLE_WARNING_UNUSED_PRIVATE_FIELD |
| #define | CE_DISABLE_WARNING_TYPE_LIMITS |
| #define | CE_DISABLE_WARNING_DEPRECATED_VOLATILE |
| #define | CE_DISABLE_WARNING_DEPRECATED_DECLARATIONS |
| #define | CE_DISABLE_WARNING_UNSIGNED_UNARY_MINUS |
| #define | CE_DISABLE_WARNING_UNSIGNED_UNARY_MINUS |
| #define | CE_DISABLE_WARNING_INHERITS_VIA_DOMINANCE |
| #define | CE_DISABLE_WARNING_DESTRUCTOR_IMPLICITLY_DELETED |
| #define | CE_ASSUME(X) |
| #define | CE_CPU_CACHE_LINE 64 |
| #define | CE_TOKENPASTE2_(x, y) x##y |
| #define | CE_TOKENPASTE2(x, y) CE_TOKENPASTE2_(x, y) |
| #define | CE_TOKENPASTE3_(x, y, z) x##y##z |
| #define | CE_TOKENPASTE3(x, y, z) CE_TOKENPASTE3_(x, y, z) |
| #define | CE_USES_ALLOCATOR(T) template<typename Alloc> struct std::uses_allocator<T, Alloc> : std::true_type {} |
| #define | FMT_CONSTEVAL |
| #define | GLM_FORCE_RADIANS |
| #define | GLM_FORCE_DEPTH_ZERO_TO_ONE |
| #define | GLM_ENABLE_EXPERIMENTAL |
| #define | CE_REFL_DATA(N) RTTI.template data<&std::decay_t<decltype(RTTI)>::ReflectedType::N>(#N) |
| #define | CE_REFL_DATA_NAMED(N, M) RTTI.template data<&std::decay_t<decltype(RTTI)>::ReflectedType::M>(#N) |
| #define | CE_REFL_DATA_GET(N, G) RTTI.template data(#N, [](const typename std::decay_t<decltype(RTTI)>::ReflectedType* obj) { return obj->G(); }) |
| #define | CE_REFL_DATA_GETSET(N, G, S) RTTI.template data<&std::decay_t<decltype(RTTI)>::ReflectedType::G, &std::decay_t<decltype(RTTI)>::ReflectedType::S>(#N) |
| #define | CE_REFL_FUNC(N) RTTI.template func<&std::decay_t<decltype(RTTI)>::ReflectedType::N>(#N) |
| #define | CE_REFL_CTOR(...) RTTI.template ctor<__VA_ARGS__>() |
| #define | CE_REFL_VAL(N) RTTI.template value<std::decay_t<decltype(RTTI)>::ReflectedType::N>(#N) |
| #define | CE_REFL_BASE(T) RTTI.template base<T>() |
| #define | CE_SWIFT_SELF_CONTAINED |
| #define | CE_SWIFT_SAFE_TO_IMPORT |
| #define | CE_SWIFT_REFERENCE_TYPE(_retain, _release) |
| #define | CE_SWIFT_NAME(_name) |
| #define CE_ARCHITECTURE_ARM 0 |
Compiler is generating ARM instructions.
| #define CE_ARCHITECTURE_ARM32 0 |
Compiler is generating ARM instructions for 32-bit mode.
| #define CE_ARCHITECTURE_ARM64 0 |
Compiler is generating ARM instructions for 64-bit mode.
| #define CE_ARCHITECTURE_IS_32BIT CE_ARCHITECTURE_X86_32 || CE_ARCHITECTURE_ARM32 || CE_ARCHITECTURE_WASM32 |
Determines if the target architecture is 32-bit.
| #define CE_ARCHITECTURE_IS_64BIT CE_ARCHITECTURE_X86_64 || CE_ARCHITECTURE_ARM64 || CE_ARCHITECTURE_WASM64 |
Determines if the target architecture is 64-bit.
| #define CE_ARCHITECTURE_WASM 0 |
Compiler is generating WebAssembly instructions.
| #define CE_ARCHITECTURE_WASM32 0 |
Compiler is generating WebAssembly instructions for 32-bit mode.
| #define CE_ARCHITECTURE_WASM64 0 |
Compiler is generating WebAssembly instructions for 64-bit mode.
| #define CE_ARCHITECTURE_X86 0 |
Compiler is generating x86 instructions.
| #define CE_ARCHITECTURE_X86_32 0 |
Compiler is generating x86 instructions for 32-bit mode.
| #define CE_ARCHITECTURE_X86_64 0 |
Compiler is generating x86 instructions for 64-bit mode.
| #define CE_ASSERT | ( | ... | ) | assert(__VA_ARGS__) |
| #define CE_ASSERT_DEBUG | ( | ... | ) | CE_ASSERT(__VA_ARGS__) |
| #define CE_ASSERT_UNDEFINED | ( | ) |
| #define CE_ASSERT_UNIMPLEMENTED | ( | ) |
| #define CE_ASSUME | ( | X | ) |
| #define CE_BIND_THIS | ( | function | ) |
Binds a member function as a callable lambda function.
| function | The member function to be called by the lambda. |
| #define CE_COLD |
| #define CE_COMPILER_CLANG 0 |
Code will be compiled with Clang.
| #define CE_COMPILER_CLANGCL 0 |
Code will be compiled with Clang (with ClangCL).
| #define CE_COMPILER_GNUC 0 |
Code will be compiled with GCC.
| #define CE_COMPILER_INTEL 0 |
Code will be compiled with Intel compiler.
| #define CE_COMPILER_MSVC 0 |
Code will be compiled with MSVC.
| #define CE_CONCEPT | ( | Name | ) | typename |
| #define CE_CONCEPT_REQUIRES | ( | ... | ) |
| #define CE_CPU_CACHE_LINE 64 |
| #define CE_DEPRECATED [[deprecated]] |
| #define CE_DEPRECATED_MSG | ( | Message | ) | [[deprecated(Message)]] |
| #define CE_DISABLE_ALL_WARNINGS |
| #define CE_DISABLE_WARNING_DEPRECATED_DECLARATIONS |
| #define CE_DISABLE_WARNING_DEPRECATED_VOLATILE |
| #define CE_DISABLE_WARNING_DESTRUCTOR_IMPLICITLY_DELETED |
| #define CE_DISABLE_WARNING_INHERITS_VIA_DOMINANCE |
| #define CE_DISABLE_WARNING_MISSING_FIELD_INITIALIZERS |
| #define CE_DISABLE_WARNING_POP |
| #define CE_DISABLE_WARNING_PUSH |
| #define CE_DISABLE_WARNING_REORDER |
| #define CE_DISABLE_WARNING_TAUTOLOGICAL_COMPARE |
| #define CE_DISABLE_WARNING_TYPE_LIMITS |
| #define CE_DISABLE_WARNING_UNINITIALIZED_VARIABLE |
| #define CE_DISABLE_WARNING_UNREFERENCED_FORMAL_PARAMETER |
| #define CE_DISABLE_WARNING_UNREFERENCED_FUNCTION |
| #define CE_DISABLE_WARNING_UNSIGNED_UNARY_MINUS |
| #define CE_DISABLE_WARNING_UNSIGNED_UNARY_MINUS |
| #define CE_DISABLE_WARNING_UNUSED_PRIVATE_FIELD |
| #define CE_DISABLE_WARNING_UNUSED_VARIABLE |
| #define CE_DLL_EXPORT CE_VISIBLE |
The CE_DLL_EXPORT macro marks a symbol as expoted in a DLL.
| #define CE_DLL_IMPORT CE_VISIBLE |
The CE_DLL_IMPORT macro marks a symbol as imported from a DLL.
| #define CE_ENSURES | ( | ... | ) |
| #define CE_EXPECTS | ( | ... | ) |
| #define CE_EXPLICIT | ( | EXPR | ) |
| #define CE_EXPLICIT_FALSE CE_EXPLICIT(false) |
| #define CE_EXPORT |
The CE_EXPORT macro marks a symbol as exported in a DLL.
| #define CE_FORCE_INLINE |
| #define CE_FORCE_INLINE |
| #define CE_HIDDEN __attribute__((visibility("hidden"))) |
The CE_HIDDEN macro marks a symbol as hidden in a binary.
| #define CE_LIKELY |
| #define CE_NO_UNIQUE_ADDRESS |
| #define CE_NOINLINE |
| #define CE_NON_NULL |
The CE_NON_NULL nullability qualifier indicates that null is not a meaningful value for a value of the pointer type.
| #define CE_NULL_UNSPECIFIED |
The CE_NULL_UNSPECIFIED nullability qualifier indicates that neither the CE_NON_NULL nor CE_NULLABLE qualifiers make sense for a particular pointer type. It is used primarily to indicate that the role of null with specific pointers in a nullability-annotated header is unclear, e.g., due to overly-complex implementations or historical factors with a long-lived API.
| #define CE_NULLABLE |
The CE_NULLABLE nullability qualifier indicates that a value of the pointer type can be null.
| #define CE_PLATFORM_ANDROID 0 |
Generated code will run under Android.
| #define CE_PLATFORM_APPLE 0 |
Generated code will run under an Apple operating system.
| #define CE_PLATFORM_BSD 0 |
Generated code will run under a BSD system.
| #define CE_PLATFORM_CHEERP 0 |
Generated code will run on the web with Cheerp.
| #define CE_PLATFORM_EMSCRIPTEN 0 |
Generated code will run on the web with Emscripten.
| #define CE_PLATFORM_FREEBSD 0 |
Generated code will run under a FreeBSD system.
| #define CE_PLATFORM_IOS 0 |
Generated code will run under iOS.
| #define CE_PLATFORM_LINUX 0 |
Generated code will run under Linux.
| #define CE_PLATFORM_MAC 0 |
Generated code will run under macOS.
| #define CE_PLATFORM_POSIX 0 |
Generated code will run under some POSIX-compliant OS (including macOS).
| #define CE_PLATFORM_WASI 0 |
Generated code will run on the web with WASI.
| #define CE_PLATFORM_WEB 0 |
Generated code will run on the web.
| #define CE_PLATFORM_WIN32 0 |
Generated code will run under WIN32 API.
| #define CE_PLATFORM_WINDOWS 0 |
Generated code will run under Windows.
| #define CE_REFL_BASE | ( | T | ) | RTTI.template base<T>() |
| #define CE_REFL_CTOR | ( | ... | ) | RTTI.template ctor<__VA_ARGS__>() |
| #define CE_REFL_DATA | ( | N | ) | RTTI.template data<&std::decay_t<decltype(RTTI)>::ReflectedType::N>(#N) |
| #define CE_REFL_DATA_GET | ( | N, | |
| G | |||
| ) | RTTI.template data(#N, [](const typename std::decay_t<decltype(RTTI)>::ReflectedType* obj) { return obj->G(); }) |
| #define CE_REFL_DATA_GETSET | ( | N, | |
| G, | |||
| S | |||
| ) | RTTI.template data<&std::decay_t<decltype(RTTI)>::ReflectedType::G, &std::decay_t<decltype(RTTI)>::ReflectedType::S>(#N) |
| #define CE_REFL_DATA_NAMED | ( | N, | |
| M | |||
| ) | RTTI.template data<&std::decay_t<decltype(RTTI)>::ReflectedType::M>(#N) |
| #define CE_REFL_FUNC | ( | N | ) | RTTI.template func<&std::decay_t<decltype(RTTI)>::ReflectedType::N>(#N) |
| #define CE_REFL_VAL | ( | N | ) | RTTI.template value<std::decay_t<decltype(RTTI)>::ReflectedType::N>(#N) |
| #define CE_SCRIPT_EXPORT | ( | ... | ) |
The CE_SCRIPT_EXPORT macro marks a class or method as exportable and available in scripting environments.
In regular builds, this macro does nothing, but when processing sources files using the SBGen tool, the tool uses this to enumerate exportable classes and parses the arguments given to macro to customize the generated script code.
Parameter can be set using a key-value syntax like the following: key=value.
| #define CE_SWIFT_NAME | ( | _name | ) |
| #define CE_SWIFT_REFERENCE_TYPE | ( | _retain, | |
| _release | |||
| ) |
| #define CE_SWIFT_SAFE_TO_IMPORT |
| #define CE_SWIFT_SELF_CONTAINED |
| #define CE_TOKENPASTE2 | ( | x, | |
| y | |||
| ) | CE_TOKENPASTE2_(x, y) |
| #define CE_TOKENPASTE2_ | ( | x, | |
| y | |||
| ) | x##y |
| #define CE_TOKENPASTE3 | ( | x, | |
| y, | |||
| z | |||
| ) | CE_TOKENPASTE3_(x, y, z) |
| #define CE_TOKENPASTE3_ | ( | x, | |
| y, | |||
| z | |||
| ) | x##y##z |
| #define CE_UNLIKELY |
| #define CE_UNREACHABLE std::abort() |
| #define CE_USES_ALLOCATOR | ( | T | ) | template<typename Alloc> struct std::uses_allocator<T, Alloc> : std::true_type {} |
| #define CE_VISIBLE __attribute__((visibility("default"))) |
The CE_VISIBLE macro marks a symbol as visible in a binary.
| #define CEReflectable | ( | ... | ) |
The CEReflectable macro marks a class or method as reflectable and available in reflection environments.
In regular builds, this macro does nothing, but when processing sources files using the ReflGen tool, the tool uses this to enumerate reflectable classes and parses the arguments given to macro to customize the generated reflection description.
Parameter can be set using a key-value syntax like the following: key=value.
| #define FMT_CONSTEVAL |
| #define GLM_ENABLE_EXPERIMENTAL |
| #define GLM_FORCE_DEPTH_ZERO_TO_ONE |
| #define GLM_FORCE_RADIANS |