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 |
OptiX Function Table.
#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) |
typedef struct OptixFunctionTable OptixFunctionTable |
The function table containing all API functions.
See optixInit() and optixInitWithHandle().
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.