Macros | Enumerations
ai_api.h File Reference

DLL export prefix for API functions (necessary for multi-platform development) More...

Go to the source code of this file.

Macros

#define AI_ENABLE_DEPRECATION_WARNINGS   1
 
#define AI_EXTERN_C   extern
 
#define AI_PURE_ATTRIBUTE   pure
 
#define AI_CONST_ATTRIBUTE   const
 
#define AI_DEPRECATED   __attribute__(( deprecated ))
 
#define AI_API   AI_EXTERN_C __attribute__(( visibility("default") ))
 
#define AI_PURE   __attribute__(( AI_PURE_ATTRIBUTE ))
 
#define AI_CONST   __attribute__(( AI_CONST_ATTRIBUTE ))
 
#define AI_UNAVAILABLE   __attribute__((deprecated))
 
#define Ai_likely(expr)   (__builtin_expect(!!(expr), true))
 
#define Ai_unlikely(expr)   (__builtin_expect(!!(expr), false))
 
#define AI_FORCEINLINE   __attribute__ ((always_inline))
 
#define ARNOLD_FORCEINLINE   AI_FORCEINLINE inline
 
#define AI_DEVICE
 
#define AI_GPU_NO_INLINE
 
#define AI_GPU_FORCE_INLINE
 

Enumerations

enum  AtBlockingCall { AI_BLOCKING , AI_NON_BLOCKING }
 Whether a function call is blocking (synchronous) or not (asynchronous) More...
 

Detailed Description

DLL export prefix for API functions (necessary for multi-platform development)

Enumeration Type Documentation

◆ AtBlockingCall

Whether a function call is blocking (synchronous) or not (asynchronous)

Enumerator
AI_BLOCKING 

synchronous, blocking call; returns when the task is done

AI_NON_BLOCKING 

asynchronous, non-blocking call; returns ASAP, task completes in the background


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