Macros | Functions
ai_version.h File Reference

Version number information and checking of backwards-compatibility. More...

#include "ai_api.h"

Go to the source code of this file.

Macros

#define ARNOLD_XSTR(s)   ARNOLD_STR(s)
 
#define ARNOLD_STR(s)   #s
 
#define AI_MAXSIZE_VERSION   32
 
#define AI_VERSION_ARCH_NUM   6
 
#define AI_VERSION_MAJOR_NUM   1
 
#define AI_VERSION_MINOR_NUM   0
 
#define AI_VERSION_FIX   "1"
 
#define AI_VERSION_ARCH   ARNOLD_XSTR(AI_VERSION_ARCH_NUM)
 
#define AI_VERSION_MAJOR   ARNOLD_XSTR(AI_VERSION_MAJOR_NUM)
 
#define AI_VERSION_MINOR   ARNOLD_XSTR(AI_VERSION_MINOR_NUM)
 
#define ARNOLD_VERSION_NUM   (AI_VERSION_ARCH_NUM*10000)+(AI_VERSION_MAJOR_NUM*100)+AI_VERSION_MINOR_NUM
 
#define AI_MIN_OPTIX_VERSION   60500
 
#define AI_MIN_NVML_VERSION   7
 
#define AI_MIN_CUDA_COMPUTE_CAPABILITY   5.0f
 
#define AI_VERSION   AI_VERSION_ARCH "." AI_VERSION_MAJOR "." AI_VERSION_MINOR "." AI_VERSION_FIX
 Full Arnold version as string.
 

Functions

AI_API const char * AiGetVersion (char *arch, char *major, char *minor, char *fix)
 Returns the Arnold version string. More...
 
AI_API const char * AiGetVersionInfo ()
 Returns the Arnold version string plus compile-time information. More...
 
AI_API const char * AiGetCompileOptions ()
 Returns a string with compile-time options. More...
 
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. More...
 
AI_API void AiSetAppString (const char *appstr)
 Sets the application-defined string. More...
 

Detailed Description

Version number information and checking of backwards-compatibility.


© 2020 Autodesk, Inc. · All rights reserved · www.arnoldrenderer.com