15#define ARNOLD_XSTR(s) ARNOLD_STR(s)
16#define ARNOLD_STR(s) #s
18#define AI_MAXSIZE_VERSION 32
24#define AI_VERSION_ARCH_NUM 7
25#define AI_VERSION_MAJOR_NUM 2
26#define AI_VERSION_MINOR_NUM 0
27#define AI_VERSION_FIX "0"
29#define AI_VERSION_ARCH ARNOLD_XSTR(AI_VERSION_ARCH_NUM)
30#define AI_VERSION_MAJOR ARNOLD_XSTR(AI_VERSION_MAJOR_NUM)
31#define AI_VERSION_MINOR ARNOLD_XSTR(AI_VERSION_MINOR_NUM)
38#define ARNOLD_VERSION_NUM (AI_VERSION_ARCH_NUM*10000)+(AI_VERSION_MAJOR_NUM*100)+AI_VERSION_MINOR_NUM
46#define AI_MIN_OPTIX_VERSION 60500
51#define AI_MIN_NVML_VERSION 7
56#define AI_MIN_CUDA_COMPUTE_CAPABILITY 5.0f
66#define AI_VERSION AI_VERSION_ARCH "." AI_VERSION_MAJOR "." AI_VERSION_MINOR "." AI_VERSION_FIX
68AI_API
const char*
AiGetVersion(
char* arch,
char* major,
char* minor,
char* fix);
71AI_API
bool AiCheckAPIVersion(
const char* arch,
const char* major,
const char* minor);
79 AI_COPYRIGHT_NOTICES_CORE,
80 AI_COPYRIGHT_NOTICES_PLUGINS
DLL export prefix for API functions (necessary for multi-platform development)
AtCopyrightNoticeType
Copyright Notice types.
Definition: ai_version.h:78
AI_API const char * AiGetCompileOptions()
Returns a string with compile-time options.
Definition: ai_version.cpp:84
AI_API const char * AiGetVersionInfo()
Returns the Arnold version string plus compile-time information.
Definition: ai_version.cpp:179
AI_API void AiSetAppString(const char *appstr)
Sets the application-defined string.
Definition: ai_version.cpp:228
AI_API const char * AiGetVersion(char *arch, char *major, char *minor, char *fix)
Returns the Arnold version string.
Definition: ai_version.cpp:60
AI_API const char * AiGetCopyrightNotices(AtCopyrightNoticeType copyright_notice_type)
Returns the copyright notices for Arnold and its dependencies.
Definition: ai_version.cpp:275
AI_API bool AiCheckAPIVersion(const char *arch, const char *major, const char *minor)
Checks if a given version string is compatible with the running version.
Definition: ai_version.cpp:202