NVIDIA OptiX 8.1 nvidia_logo_transpbg.gif Up
Function Table

Classes

struct  OptixFunctionTable
 

Macros

#define OPTIX_CONCATENATE_ABI_VERSION(prefix, macro)   OPTIX_CONCATENATE_ABI_VERSION_IMPL(prefix, macro)
 
#define OPTIX_CONCATENATE_ABI_VERSION_IMPL(prefix, macro)   prefix ## _ ## macro
 
#define OPTIX_FUNCTION_TABLE_SYMBOL   OPTIX_CONCATENATE_ABI_VERSION(g_optixFunctionTable, OPTIX_ABI_VERSION)
 

Typedefs

typedef struct OptixFunctionTable OptixFunctionTable
 

Variables

OptixFunctionTable OPTIX_FUNCTION_TABLE_SYMBOL
 

Detailed Description

OptiX Function Table.

Macro Definition Documentation

 OPTIX_CONCATENATE_ABI_VERSION

#define OPTIX_CONCATENATE_ABI_VERSION (   prefix,
  macro 
)    OPTIX_CONCATENATE_ABI_VERSION_IMPL(prefix, macro)

 OPTIX_CONCATENATE_ABI_VERSION_IMPL

#define OPTIX_CONCATENATE_ABI_VERSION_IMPL (   prefix,
  macro 
)    prefix ## _ ## macro

 OPTIX_FUNCTION_TABLE_SYMBOL

#define OPTIX_FUNCTION_TABLE_SYMBOL   OPTIX_CONCATENATE_ABI_VERSION(g_optixFunctionTable, OPTIX_ABI_VERSION)

Typedef Documentation

 OptixFunctionTable

The function table containing all API functions.

See optixInit() and optixInitWithHandle().

Variable Documentation

 OPTIX_FUNCTION_TABLE_SYMBOL

OptixFunctionTable OPTIX_FUNCTION_TABLE_SYMBOL

If the stubs in optix_stubs.h are used, then the function table needs to be defined in exactly one translation unit. This can be achieved by including this header file in that translation unit.

Mixing multiple SDKs in a single application will result in symbol collisions. To enable different compilation units to use different SDKs, use OPTIX_ENABLE_SDK_MIXING.