NVIDIA OptiX 7.1 API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
OptixFunctionTable Struct Reference

Public Attributes

Error handling
const char *(* optixGetErrorName )(OptixResult result)
 
const char *(* optixGetErrorString )(OptixResult result)
 
Device context
OptixResult(* optixDeviceContextCreate )(CUcontext fromContext, const OptixDeviceContextOptions *options, OptixDeviceContext *context)
 
OptixResult(* optixDeviceContextDestroy )(OptixDeviceContext context)
 
OptixResult(* optixDeviceContextGetProperty )(OptixDeviceContext context, OptixDeviceProperty property, void *value, size_t sizeInBytes)
 
OptixResult(* optixDeviceContextSetLogCallback )(OptixDeviceContext context, OptixLogCallback callbackFunction, void *callbackData, unsigned int callbackLevel)
 
OptixResult(* optixDeviceContextSetCacheEnabled )(OptixDeviceContext context, int enabled)
 
OptixResult(* optixDeviceContextSetCacheLocation )(OptixDeviceContext context, const char *location)
 
OptixResult(* optixDeviceContextSetCacheDatabaseSizes )(OptixDeviceContext context, size_t lowWaterMark, size_t highWaterMark)
 
OptixResult(* optixDeviceContextGetCacheEnabled )(OptixDeviceContext context, int *enabled)
 
OptixResult(* optixDeviceContextGetCacheLocation )(OptixDeviceContext context, char *location, size_t locationSize)
 
OptixResult(* optixDeviceContextGetCacheDatabaseSizes )(OptixDeviceContext context, size_t *lowWaterMark, size_t *highWaterMark)
 
Modules
OptixResult(* optixModuleCreateFromPTX )(OptixDeviceContext context, const OptixModuleCompileOptions *moduleCompileOptions, const OptixPipelineCompileOptions *pipelineCompileOptions, const char *PTX, size_t PTXsize, char *logString, size_t *logStringSize, OptixModule *module)
 
OptixResult(* optixModuleDestroy )(OptixModule module)
 
OptixResult(* optixBuiltinISModuleGet )(OptixDeviceContext context, const OptixModuleCompileOptions *moduleCompileOptions, const OptixPipelineCompileOptions *pipelineCompileOptions, const OptixBuiltinISOptions *builtinISOptions, OptixModule *builtinModule)
 
Program groups
OptixResult(* optixProgramGroupCreate )(OptixDeviceContext context, const OptixProgramGroupDesc *programDescriptions, unsigned int numProgramGroups, const OptixProgramGroupOptions *options, char *logString, size_t *logStringSize, OptixProgramGroup *programGroups)
 
OptixResult(* optixProgramGroupDestroy )(OptixProgramGroup programGroup)
 
OptixResult(* optixProgramGroupGetStackSize )(OptixProgramGroup programGroup, OptixStackSizes *stackSizes)
 
Pipeline
OptixResult(* optixPipelineCreate )(OptixDeviceContext context, const OptixPipelineCompileOptions *pipelineCompileOptions, const OptixPipelineLinkOptions *pipelineLinkOptions, const OptixProgramGroup *programGroups, unsigned int numProgramGroups, char *logString, size_t *logStringSize, OptixPipeline *pipeline)
 
OptixResult(* optixPipelineDestroy )(OptixPipeline pipeline)
 
OptixResult(* optixPipelineSetStackSize )(OptixPipeline pipeline, unsigned int directCallableStackSizeFromTraversal, unsigned int directCallableStackSizeFromState, unsigned int continuationStackSize, unsigned int maxTraversableGraphDepth)
 
Acceleration structures
OptixResult(* optixAccelComputeMemoryUsage )(OptixDeviceContext context, const OptixAccelBuildOptions *accelOptions, const OptixBuildInput *buildInputs, unsigned int numBuildInputs, OptixAccelBufferSizes *bufferSizes)
 
OptixResult(* optixAccelBuild )(OptixDeviceContext context, CUstream stream, const OptixAccelBuildOptions *accelOptions, const OptixBuildInput *buildInputs, unsigned int numBuildInputs, CUdeviceptr tempBuffer, size_t tempBufferSizeInBytes, CUdeviceptr outputBuffer, size_t outputBufferSizeInBytes, OptixTraversableHandle *outputHandle, const OptixAccelEmitDesc *emittedProperties, unsigned int numEmittedProperties)
 
OptixResult(* optixAccelGetRelocationInfo )(OptixDeviceContext context, OptixTraversableHandle handle, OptixAccelRelocationInfo *info)
 
OptixResult(* optixAccelCheckRelocationCompatibility )(OptixDeviceContext context, const OptixAccelRelocationInfo *info, int *compatible)
 
OptixResult(* optixAccelRelocate )(OptixDeviceContext context, CUstream stream, const OptixAccelRelocationInfo *info, CUdeviceptr instanceTraversableHandles, size_t numInstanceTraversableHandles, CUdeviceptr targetAccel, size_t targetAccelSizeInBytes, OptixTraversableHandle *targetHandle)
 
OptixResult(* optixAccelCompact )(OptixDeviceContext context, CUstream stream, OptixTraversableHandle inputHandle, CUdeviceptr outputBuffer, size_t outputBufferSizeInBytes, OptixTraversableHandle *outputHandle)
 
OptixResult(* optixConvertPointerToTraversableHandle )(OptixDeviceContext onDevice, CUdeviceptr pointer, OptixTraversableType traversableType, OptixTraversableHandle *traversableHandle)
 
Launch
OptixResult(* optixSbtRecordPackHeader )(OptixProgramGroup programGroup, void *sbtRecordHeaderHostPointer)
 
OptixResult(* optixLaunch )(OptixPipeline pipeline, CUstream stream, CUdeviceptr pipelineParams, size_t pipelineParamsSize, const OptixShaderBindingTable *sbt, unsigned int width, unsigned int height, unsigned int depth)
 
Denoiser
OptixResult(* optixDenoiserCreate )(OptixDeviceContext context, const OptixDenoiserOptions *options, OptixDenoiser *returnHandle)
 
OptixResult(* optixDenoiserDestroy )(OptixDenoiser handle)
 
OptixResult(* optixDenoiserComputeMemoryResources )(const OptixDenoiser handle, unsigned int maximumInputWidth, unsigned int maximumInputHeight, OptixDenoiserSizes *returnSizes)
 
OptixResult(* optixDenoiserSetup )(OptixDenoiser denoiser, CUstream stream, unsigned int inputWidth, unsigned int inputHeight, CUdeviceptr state, size_t stateSizeInBytes, CUdeviceptr scratch, size_t scratchSizeInBytes)
 
OptixResult(* optixDenoiserInvoke )(OptixDenoiser denoiser, CUstream stream, const OptixDenoiserParams *params, CUdeviceptr denoiserState, size_t denoiserStateSizeInBytes, const OptixImage2D *inputLayers, unsigned int numInputLayers, unsigned int inputOffsetX, unsigned int inputOffsetY, const OptixImage2D *outputLayer, CUdeviceptr scratch, size_t scratchSizeInBytes)
 
OptixResult(* optixDenoiserSetModel )(OptixDenoiser handle, OptixDenoiserModelKind kind, void *data, size_t sizeInBytes)
 
OptixResult(* optixDenoiserComputeIntensity )(OptixDenoiser handle, CUstream stream, const OptixImage2D *inputImage, CUdeviceptr outputIntensity, CUdeviceptr scratch, size_t scratchSizeInBytes)
 

Detailed Description

The function table containing all API functions.

See optixInit() and optixInitWithHandle().

Member Data Documentation

OptixResult( * OptixFunctionTable::optixAccelBuild)(OptixDeviceContext context, CUstream stream, const OptixAccelBuildOptions *accelOptions, const OptixBuildInput *buildInputs, unsigned int numBuildInputs, CUdeviceptr tempBuffer, size_t tempBufferSizeInBytes, CUdeviceptr outputBuffer, size_t outputBufferSizeInBytes, OptixTraversableHandle *outputHandle, const OptixAccelEmitDesc *emittedProperties, unsigned int numEmittedProperties)
OptixResult( * OptixFunctionTable::optixAccelCheckRelocationCompatibility)(OptixDeviceContext context, const OptixAccelRelocationInfo *info, int *compatible)
OptixResult( * OptixFunctionTable::optixAccelCompact)(OptixDeviceContext context, CUstream stream, OptixTraversableHandle inputHandle, CUdeviceptr outputBuffer, size_t outputBufferSizeInBytes, OptixTraversableHandle *outputHandle)
OptixResult( * OptixFunctionTable::optixAccelComputeMemoryUsage)(OptixDeviceContext context, const OptixAccelBuildOptions *accelOptions, const OptixBuildInput *buildInputs, unsigned int numBuildInputs, OptixAccelBufferSizes *bufferSizes)
OptixResult( * OptixFunctionTable::optixAccelGetRelocationInfo)(OptixDeviceContext context, OptixTraversableHandle handle, OptixAccelRelocationInfo *info)
OptixResult( * OptixFunctionTable::optixAccelRelocate)(OptixDeviceContext context, CUstream stream, const OptixAccelRelocationInfo *info, CUdeviceptr instanceTraversableHandles, size_t numInstanceTraversableHandles, CUdeviceptr targetAccel, size_t targetAccelSizeInBytes, OptixTraversableHandle *targetHandle)
OptixResult( * OptixFunctionTable::optixBuiltinISModuleGet)(OptixDeviceContext context, const OptixModuleCompileOptions *moduleCompileOptions, const OptixPipelineCompileOptions *pipelineCompileOptions, const OptixBuiltinISOptions *builtinISOptions, OptixModule *builtinModule)
OptixResult( * OptixFunctionTable::optixConvertPointerToTraversableHandle)(OptixDeviceContext onDevice, CUdeviceptr pointer, OptixTraversableType traversableType, OptixTraversableHandle *traversableHandle)
OptixResult( * OptixFunctionTable::optixDenoiserComputeIntensity)(OptixDenoiser handle, CUstream stream, const OptixImage2D *inputImage, CUdeviceptr outputIntensity, CUdeviceptr scratch, size_t scratchSizeInBytes)
OptixResult( * OptixFunctionTable::optixDenoiserComputeMemoryResources)(const OptixDenoiser handle, unsigned int maximumInputWidth, unsigned int maximumInputHeight, OptixDenoiserSizes *returnSizes)
OptixResult( * OptixFunctionTable::optixDenoiserCreate)(OptixDeviceContext context, const OptixDenoiserOptions *options, OptixDenoiser *returnHandle)
OptixResult( * OptixFunctionTable::optixDenoiserDestroy)(OptixDenoiser handle)
OptixResult( * OptixFunctionTable::optixDenoiserInvoke)(OptixDenoiser denoiser, CUstream stream, const OptixDenoiserParams *params, CUdeviceptr denoiserState, size_t denoiserStateSizeInBytes, const OptixImage2D *inputLayers, unsigned int numInputLayers, unsigned int inputOffsetX, unsigned int inputOffsetY, const OptixImage2D *outputLayer, CUdeviceptr scratch, size_t scratchSizeInBytes)
OptixResult( * OptixFunctionTable::optixDenoiserSetModel)(OptixDenoiser handle, OptixDenoiserModelKind kind, void *data, size_t sizeInBytes)
OptixResult( * OptixFunctionTable::optixDenoiserSetup)(OptixDenoiser denoiser, CUstream stream, unsigned int inputWidth, unsigned int inputHeight, CUdeviceptr state, size_t stateSizeInBytes, CUdeviceptr scratch, size_t scratchSizeInBytes)
OptixResult( * OptixFunctionTable::optixDeviceContextCreate)(CUcontext fromContext, const OptixDeviceContextOptions *options, OptixDeviceContext *context)
OptixResult( * OptixFunctionTable::optixDeviceContextDestroy)(OptixDeviceContext context)
OptixResult( * OptixFunctionTable::optixDeviceContextGetCacheDatabaseSizes)(OptixDeviceContext context, size_t *lowWaterMark, size_t *highWaterMark)
OptixResult( * OptixFunctionTable::optixDeviceContextGetCacheEnabled)(OptixDeviceContext context, int *enabled)
OptixResult( * OptixFunctionTable::optixDeviceContextGetCacheLocation)(OptixDeviceContext context, char *location, size_t locationSize)
OptixResult( * OptixFunctionTable::optixDeviceContextGetProperty)(OptixDeviceContext context, OptixDeviceProperty property, void *value, size_t sizeInBytes)
OptixResult( * OptixFunctionTable::optixDeviceContextSetCacheDatabaseSizes)(OptixDeviceContext context, size_t lowWaterMark, size_t highWaterMark)
OptixResult( * OptixFunctionTable::optixDeviceContextSetCacheEnabled)(OptixDeviceContext context, int enabled)
OptixResult( * OptixFunctionTable::optixDeviceContextSetCacheLocation)(OptixDeviceContext context, const char *location)
OptixResult( * OptixFunctionTable::optixDeviceContextSetLogCallback)(OptixDeviceContext context, OptixLogCallback callbackFunction, void *callbackData, unsigned int callbackLevel)
const char*( * OptixFunctionTable::optixGetErrorName)(OptixResult result)
const char*( * OptixFunctionTable::optixGetErrorString)(OptixResult result)
OptixResult( * OptixFunctionTable::optixLaunch)(OptixPipeline pipeline, CUstream stream, CUdeviceptr pipelineParams, size_t pipelineParamsSize, const OptixShaderBindingTable *sbt, unsigned int width, unsigned int height, unsigned int depth)
OptixResult( * OptixFunctionTable::optixModuleCreateFromPTX)(OptixDeviceContext context, const OptixModuleCompileOptions *moduleCompileOptions, const OptixPipelineCompileOptions *pipelineCompileOptions, const char *PTX, size_t PTXsize, char *logString, size_t *logStringSize, OptixModule *module)
OptixResult( * OptixFunctionTable::optixModuleDestroy)(OptixModule module)
OptixResult( * OptixFunctionTable::optixPipelineCreate)(OptixDeviceContext context, const OptixPipelineCompileOptions *pipelineCompileOptions, const OptixPipelineLinkOptions *pipelineLinkOptions, const OptixProgramGroup *programGroups, unsigned int numProgramGroups, char *logString, size_t *logStringSize, OptixPipeline *pipeline)
OptixResult( * OptixFunctionTable::optixPipelineDestroy)(OptixPipeline pipeline)
OptixResult( * OptixFunctionTable::optixPipelineSetStackSize)(OptixPipeline pipeline, unsigned int directCallableStackSizeFromTraversal, unsigned int directCallableStackSizeFromState, unsigned int continuationStackSize, unsigned int maxTraversableGraphDepth)
OptixResult( * OptixFunctionTable::optixProgramGroupCreate)(OptixDeviceContext context, const OptixProgramGroupDesc *programDescriptions, unsigned int numProgramGroups, const OptixProgramGroupOptions *options, char *logString, size_t *logStringSize, OptixProgramGroup *programGroups)
OptixResult( * OptixFunctionTable::optixProgramGroupDestroy)(OptixProgramGroup programGroup)
OptixResult( * OptixFunctionTable::optixProgramGroupGetStackSize)(OptixProgramGroup programGroup, OptixStackSizes *stackSizes)
OptixResult( * OptixFunctionTable::optixSbtRecordPackHeader)(OptixProgramGroup programGroup, void *sbtRecordHeaderHostPointer)