NVIDIA OptiX 7.7 nvidia_logo_transpbg.gif Up
optix_function_table.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 NVIDIA Corporation. All rights reserved.
3 *
4 * NVIDIA Corporation and its licensors retain all intellectual property and proprietary
5 * rights in and to this software, related documentation and any modifications thereto.
6 * Any use, reproduction, disclosure or distribution of this software and related
7 * documentation without an express license agreement from NVIDIA Corporation is strictly
8 * prohibited.
9 *
10 * TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THIS SOFTWARE IS PROVIDED *AS IS*
11 * AND NVIDIA AND ITS SUPPLIERS DISCLAIM ALL WARRANTIES, EITHER EXPRESS OR IMPLIED,
12 * INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
13 * PARTICULAR PURPOSE. IN NO EVENT SHALL NVIDIA OR ITS SUPPLIERS BE LIABLE FOR ANY
14 * SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT
15 * LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF
16 * BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR
17 * INABILITY TO USE THIS SOFTWARE, EVEN IF NVIDIA HAS BEEN ADVISED OF THE POSSIBILITY OF
18 * SUCH DAMAGES
19 */
20
24
25#ifndef OPTIX_OPTIX_FUNCTION_TABLE_H
26#define OPTIX_OPTIX_FUNCTION_TABLE_H
27
29#define OPTIX_ABI_VERSION 84
30
31#ifndef OPTIX_DEFINE_ABI_VERSION_ONLY
32
33#include "optix_types.h"
34
35#if !defined( OPTIX_DONT_INCLUDE_CUDA )
36// If OPTIX_DONT_INCLUDE_CUDA is defined, cuda driver types must be defined through other
37// means before including optix headers.
38#include <cuda.h>
39#endif
40
41#ifdef __cplusplus
42extern "C" {
43#endif
44
47
55typedef struct OptixFunctionTable
56{
58 //@ {
59
61 const char* ( *optixGetErrorName )( OptixResult result );
62
64 const char* ( *optixGetErrorString )( OptixResult result );
65
66 //@ }
68 //@ {
69
71 OptixResult ( *optixDeviceContextCreate )( CUcontext fromContext, const OptixDeviceContextOptions* options, OptixDeviceContext* context );
72
75
77 OptixResult ( *optixDeviceContextGetProperty )( OptixDeviceContext context, OptixDeviceProperty property, void* value, size_t sizeInBytes );
78
81 OptixLogCallback callbackFunction,
82 void* callbackData,
83 unsigned int callbackLevel );
84
87
90
92 OptixResult ( *optixDeviceContextSetCacheDatabaseSizes )( OptixDeviceContext context, size_t lowWaterMark, size_t highWaterMark );
93
96
98 OptixResult ( *optixDeviceContextGetCacheLocation )( OptixDeviceContext context, char* location, size_t locationSize );
99
101 OptixResult ( *optixDeviceContextGetCacheDatabaseSizes )( OptixDeviceContext context, size_t* lowWaterMark, size_t* highWaterMark );
102
103 //@ }
105 //@ {
106
109 const OptixModuleCompileOptions* moduleCompileOptions,
110 const OptixPipelineCompileOptions* pipelineCompileOptions,
111 const char* input,
112 size_t inputSize,
113 char* logString,
114 size_t* logStringSize,
115 OptixModule* module );
116
119 const OptixModuleCompileOptions* moduleCompileOptions,
120 const OptixPipelineCompileOptions* pipelineCompileOptions,
121 const char* input,
122 size_t inputSize,
123 char* logString,
124 size_t* logStringSize,
125 OptixModule* module,
126 OptixTask* firstTask );
127
130
133
136 const OptixModuleCompileOptions* moduleCompileOptions,
137 const OptixPipelineCompileOptions* pipelineCompileOptions,
138 const OptixBuiltinISOptions* builtinISOptions,
139 OptixModule* builtinModule);
140
141 //@ }
143 //@ {
144
147 OptixTask* additionalTasks,
148 unsigned int maxNumAdditionalTasks,
149 unsigned int* numAdditionalTasksCreated );
150 //@ }
152 //@ {
153
156 const OptixProgramGroupDesc* programDescriptions,
157 unsigned int numProgramGroups,
158 const OptixProgramGroupOptions* options,
159 char* logString,
160 size_t* logStringSize,
161 OptixProgramGroup* programGroups );
162
165
168
169 //@ }
171 //@ {
172
175 const OptixPipelineCompileOptions* pipelineCompileOptions,
176 const OptixPipelineLinkOptions* pipelineLinkOptions,
177 const OptixProgramGroup* programGroups,
178 unsigned int numProgramGroups,
179 char* logString,
180 size_t* logStringSize,
181 OptixPipeline* pipeline );
182
185
188 unsigned int directCallableStackSizeFromTraversal,
189 unsigned int directCallableStackSizeFromState,
190 unsigned int continuationStackSize,
191 unsigned int maxTraversableGraphDepth );
192
193 //@ }
195 //@ {
196
199 const OptixAccelBuildOptions* accelOptions,
200 const OptixBuildInput* buildInputs,
201 unsigned int numBuildInputs,
202 OptixAccelBufferSizes* bufferSizes );
203
206 CUstream stream,
207 const OptixAccelBuildOptions* accelOptions,
208 const OptixBuildInput* buildInputs,
209 unsigned int numBuildInputs,
210 CUdeviceptr tempBuffer,
211 size_t tempBufferSizeInBytes,
212 CUdeviceptr outputBuffer,
213 size_t outputBufferSizeInBytes,
214 OptixTraversableHandle* outputHandle,
215 const OptixAccelEmitDesc* emittedProperties,
216 unsigned int numEmittedProperties );
217
220
221
224 const OptixRelocationInfo* info,
225 int* compatible );
226
229 CUstream stream,
230 const OptixRelocationInfo* info,
231 const OptixRelocateInput* relocateInputs,
232 size_t numRelocateInputs,
233 CUdeviceptr targetAccel,
234 size_t targetAccelSizeInBytes,
235 OptixTraversableHandle* targetHandle );
236
237
240 CUstream stream,
241 OptixTraversableHandle inputHandle,
242 CUdeviceptr outputBuffer,
243 size_t outputBufferSizeInBytes,
244 OptixTraversableHandle* outputHandle );
245
247 CUstream stream,
249 const OptixAccelEmitDesc* emittedProperty );
250
253 CUdeviceptr pointer,
254 OptixTraversableType traversableType,
255 OptixTraversableHandle* traversableHandle );
256
259 const OptixOpacityMicromapArrayBuildInput* buildInput,
260 OptixMicromapBufferSizes* bufferSizes );
261
264 CUstream stream,
265 const OptixOpacityMicromapArrayBuildInput* buildInput,
266 const OptixMicromapBuffers* buffers );
267
270 CUdeviceptr opacityMicromapArray,
271 OptixRelocationInfo* info );
272
275 CUstream stream,
276 const OptixRelocationInfo* info,
277 CUdeviceptr targetOpacityMicromapArray,
278 size_t targetOpacityMicromapArraySizeInBytes );
279
283 OptixMicromapBufferSizes* bufferSizes );
284
287 CUstream stream,
289 const OptixMicromapBuffers* buffers );
290
291 //@ }
293 //@ {
294
296 OptixResult ( *optixSbtRecordPackHeader )( OptixProgramGroup programGroup, void* sbtRecordHeaderHostPointer );
297
300 CUstream stream,
301 CUdeviceptr pipelineParams,
302 size_t pipelineParamsSize,
303 const OptixShaderBindingTable* sbt,
304 unsigned int width,
305 unsigned int height,
306 unsigned int depth );
307
308 //@ }
310 //@ {
311
314
317
320 unsigned int maximumInputWidth,
321 unsigned int maximumInputHeight,
322 OptixDenoiserSizes* returnSizes );
323
326 CUstream stream,
327 unsigned int inputWidth,
328 unsigned int inputHeight,
329 CUdeviceptr state,
330 size_t stateSizeInBytes,
331 CUdeviceptr scratch,
332 size_t scratchSizeInBytes );
333
336 CUstream stream,
337 const OptixDenoiserParams* params,
338 CUdeviceptr denoiserState,
339 size_t denoiserStateSizeInBytes,
340 const OptixDenoiserGuideLayer * guideLayer,
341 const OptixDenoiserLayer * layers,
342 unsigned int numLayers,
343 unsigned int inputOffsetX,
344 unsigned int inputOffsetY,
345 CUdeviceptr scratch,
346 size_t scratchSizeInBytes );
347
350 CUstream stream,
351 const OptixImage2D* inputImage,
352 CUdeviceptr outputIntensity,
353 CUdeviceptr scratch,
354 size_t scratchSizeInBytes );
355
358 CUstream stream,
359 const OptixImage2D* inputImage,
360 CUdeviceptr outputAverageColor,
361 CUdeviceptr scratch,
362 size_t scratchSizeInBytes );
363
365 OptixResult ( *optixDenoiserCreateWithUserModel )( OptixDeviceContext context, const void * data, size_t dataSizeInBytes, OptixDenoiser* returnHandle );
366 //@ }
367
369 // end group optix_function_table
371
372#ifdef __cplusplus
373}
374#endif
375
376#endif /* OPTIX_DEFINE_ABI_VERSION_ONLY */
377
378#endif /* OPTIX_OPTIX_FUNCTION_TABLE_H */
struct OptixFunctionTable OptixFunctionTable
The function table containing all API functions.
struct OptixProgramGroup_t * OptixProgramGroup
Opaque type representing a program group.
Definition: optix_types.h:65
struct OptixDenoiser_t * OptixDenoiser
Opaque type representing a denoiser instance.
Definition: optix_types.h:71
OptixDeviceProperty
Parameters used for optixDeviceContextGetProperty()
Definition: optix_types.h:200
unsigned long long CUdeviceptr
CUDA device pointer.
Definition: optix_types.h:52
OptixResult
Result codes returned from API functions.
Definition: optix_types.h:152
OptixModuleCompileState
Module compilation state.
Definition: optix_types.h:1898
struct OptixModule_t * OptixModule
Opaque type representing a module.
Definition: optix_types.h:62
OptixDenoiserModelKind
Model kind used by the denoiser.
Definition: optix_types.h:1595
struct OptixPipeline_t * OptixPipeline
Opaque type representing a pipeline.
Definition: optix_types.h:68
unsigned long long OptixTraversableHandle
Traversable handle.
Definition: optix_types.h:77
OptixTraversableType
Traversable Handles.
Definition: optix_types.h:1542
void(* OptixLogCallback)(unsigned int level, const char *tag, const char *message, void *cbdata)
Type of the callback function used for log messages.
Definition: optix_types.h:261
struct OptixTask_t * OptixTask
Opaque type representing a work task.
Definition: optix_types.h:74
struct OptixDeviceContext_t * OptixDeviceContext
Opaque type representing a device context.
Definition: optix_types.h:59
OptiX public API header.
Struct for querying builder allocation requirements.
Definition: optix_types.h:1339
Build options for acceleration structures.
Definition: optix_types.h:1317
Specifies a type and output destination for emitted post-build properties.
Definition: optix_types.h:1371
Build inputs.
Definition: optix_types.h:1018
Specifies the options for retrieving an intersection program for a built-in primitive type....
Definition: optix_types.h:2434
Guide layer for the denoiser.
Definition: optix_types.h:1635
Input/Output layers for the denoiser.
Definition: optix_types.h:1676
Options used by the denoiser.
Definition: optix_types.h:1623
Definition: optix_types.h:1708
Various sizes related to the denoiser.
Definition: optix_types.h:1740
Parameters used for optixDeviceContextCreate()
Definition: optix_types.h:280
Inputs to displacement micromaps array construction.
Definition: optix_types.h:519
The function table containing all API functions.
Definition: optix_function_table.h:56
OptixResult(* optixLaunch)(OptixPipeline pipeline, CUstream stream, CUdeviceptr pipelineParams, size_t pipelineParamsSize, const OptixShaderBindingTable *sbt, unsigned int width, unsigned int height, unsigned int depth)
See optixConvertPointerToTraversableHandle().
Definition: optix_function_table.h:299
OptixResult(* optixDeviceContextSetLogCallback)(OptixDeviceContext context, OptixLogCallback callbackFunction, void *callbackData, unsigned int callbackLevel)
See optixDeviceContextSetLogCallback().
Definition: optix_function_table.h:80
OptixResult(* optixDeviceContextGetCacheDatabaseSizes)(OptixDeviceContext context, size_t *lowWaterMark, size_t *highWaterMark)
See optixDeviceContextGetCacheDatabaseSizes().
Definition: optix_function_table.h:101
OptixResult(* optixOpacityMicromapArrayGetRelocationInfo)(OptixDeviceContext context, CUdeviceptr opacityMicromapArray, OptixRelocationInfo *info)
See optixOpacityMicromapArrayGetRelocationInfo().
Definition: optix_function_table.h:269
OptixResult(* optixDeviceContextGetProperty)(OptixDeviceContext context, OptixDeviceProperty property, void *value, size_t sizeInBytes)
See optixDeviceContextGetProperty().
Definition: optix_function_table.h:77
OptixResult(* optixPipelineCreate)(OptixDeviceContext context, const OptixPipelineCompileOptions *pipelineCompileOptions, const OptixPipelineLinkOptions *pipelineLinkOptions, const OptixProgramGroup *programGroups, unsigned int numProgramGroups, char *logString, size_t *logStringSize, OptixPipeline *pipeline)
See optixPipelineCreate().
Definition: optix_function_table.h:174
OptixResult(* optixOpacityMicromapArrayBuild)(OptixDeviceContext context, CUstream stream, const OptixOpacityMicromapArrayBuildInput *buildInput, const OptixMicromapBuffers *buffers)
See optixOpacityMicromapArrayBuild().
Definition: optix_function_table.h:263
OptixResult(* optixDenoiserComputeAverageColor)(OptixDenoiser handle, CUstream stream, const OptixImage2D *inputImage, CUdeviceptr outputAverageColor, CUdeviceptr scratch, size_t scratchSizeInBytes)
See optixDenoiserComputeAverageColor().
Definition: optix_function_table.h:357
OptixResult(* optixDenoiserCreate)(OptixDeviceContext context, OptixDenoiserModelKind modelKind, const OptixDenoiserOptions *options, OptixDenoiser *returnHandle)
See optixDenoiserCreate().
Definition: optix_function_table.h:313
OptixResult(* optixOpacityMicromapArrayComputeMemoryUsage)(OptixDeviceContext context, const OptixOpacityMicromapArrayBuildInput *buildInput, OptixMicromapBufferSizes *bufferSizes)
See optixOpacityMicromapArrayComputeMemoryUsage().
Definition: optix_function_table.h:258
OptixResult(* optixDeviceContextSetCacheDatabaseSizes)(OptixDeviceContext context, size_t lowWaterMark, size_t highWaterMark)
See optixDeviceContextSetCacheDatabaseSizes().
Definition: optix_function_table.h:92
OptixResult(* optixDenoiserCreateWithUserModel)(OptixDeviceContext context, const void *data, size_t dataSizeInBytes, OptixDenoiser *returnHandle)
See optixDenoiserCreateWithUserModel().
Definition: optix_function_table.h:365
OptixResult(* optixConvertPointerToTraversableHandle)(OptixDeviceContext onDevice, CUdeviceptr pointer, OptixTraversableType traversableType, OptixTraversableHandle *traversableHandle)
See optixConvertPointerToTraversableHandle().
Definition: optix_function_table.h:252
OptixResult(* optixDenoiserDestroy)(OptixDenoiser handle)
See optixDenoiserDestroy().
Definition: optix_function_table.h:316
OptixResult(* optixDisplacementMicromapArrayBuild)(OptixDeviceContext context, CUstream stream, const OptixDisplacementMicromapArrayBuildInput *buildInput, const OptixMicromapBuffers *buffers)
See optixDisplacementMicromapArrayBuild().
Definition: optix_function_table.h:286
OptixResult(* optixCheckRelocationCompatibility)(OptixDeviceContext context, const OptixRelocationInfo *info, int *compatible)
See optixCheckRelocationCompatibility().
Definition: optix_function_table.h:223
OptixResult(* optixAccelRelocate)(OptixDeviceContext context, CUstream stream, const OptixRelocationInfo *info, const OptixRelocateInput *relocateInputs, size_t numRelocateInputs, CUdeviceptr targetAccel, size_t targetAccelSizeInBytes, OptixTraversableHandle *targetHandle)
See optixAccelRelocate().
Definition: optix_function_table.h:228
OptixResult(* optixDeviceContextDestroy)(OptixDeviceContext context)
See optixDeviceContextDestroy().
Definition: optix_function_table.h:74
OptixResult(* optixProgramGroupGetStackSize)(OptixProgramGroup programGroup, OptixStackSizes *stackSizes, OptixPipeline pipeline)
See optixProgramGroupGetStackSize().
Definition: optix_function_table.h:167
OptixResult(* optixTaskExecute)(OptixTask task, OptixTask *additionalTasks, unsigned int maxNumAdditionalTasks, unsigned int *numAdditionalTasksCreated)
See optixTaskExecute().
Definition: optix_function_table.h:146
OptixResult(* optixDeviceContextGetCacheEnabled)(OptixDeviceContext context, int *enabled)
See optixDeviceContextGetCacheEnabled().
Definition: optix_function_table.h:95
OptixResult(* optixDeviceContextSetCacheEnabled)(OptixDeviceContext context, int enabled)
See optixDeviceContextSetCacheEnabled().
Definition: optix_function_table.h:86
OptixResult(* optixDisplacementMicromapArrayComputeMemoryUsage)(OptixDeviceContext context, const OptixDisplacementMicromapArrayBuildInput *buildInput, OptixMicromapBufferSizes *bufferSizes)
See optixDisplacementMicromapArrayComputeMemoryUsage().
Definition: optix_function_table.h:281
OptixResult(* optixPipelineDestroy)(OptixPipeline pipeline)
See optixPipelineDestroy().
Definition: optix_function_table.h:184
OptixResult(* optixDeviceContextSetCacheLocation)(OptixDeviceContext context, const char *location)
See optixDeviceContextSetCacheLocation().
Definition: optix_function_table.h:89
OptixResult(* optixModuleGetCompilationState)(OptixModule module, OptixModuleCompileState *state)
See optixModuleGetCompilationState().
Definition: optix_function_table.h:129
OptixResult(* optixBuiltinISModuleGet)(OptixDeviceContext context, const OptixModuleCompileOptions *moduleCompileOptions, const OptixPipelineCompileOptions *pipelineCompileOptions, const OptixBuiltinISOptions *builtinISOptions, OptixModule *builtinModule)
See optixBuiltinISModuleGet().
Definition: optix_function_table.h:135
OptixResult(* optixDeviceContextGetCacheLocation)(OptixDeviceContext context, char *location, size_t locationSize)
See optixDeviceContextGetCacheLocation().
Definition: optix_function_table.h:98
OptixResult(* optixPipelineSetStackSize)(OptixPipeline pipeline, unsigned int directCallableStackSizeFromTraversal, unsigned int directCallableStackSizeFromState, unsigned int continuationStackSize, unsigned int maxTraversableGraphDepth)
See optixPipelineSetStackSize().
Definition: optix_function_table.h:187
OptixResult(* optixAccelGetRelocationInfo)(OptixDeviceContext context, OptixTraversableHandle handle, OptixRelocationInfo *info)
See optixAccelGetRelocationInfo().
Definition: optix_function_table.h:219
OptixResult(* optixAccelEmitProperty)(OptixDeviceContext context, CUstream stream, OptixTraversableHandle handle, const OptixAccelEmitDesc *emittedProperty)
See optixAccelComputeMemoryUsage().
Definition: optix_function_table.h:246
OptixResult(* optixDenoiserSetup)(OptixDenoiser denoiser, CUstream stream, unsigned int inputWidth, unsigned int inputHeight, CUdeviceptr state, size_t stateSizeInBytes, CUdeviceptr scratch, size_t scratchSizeInBytes)
See optixDenoiserSetup().
Definition: optix_function_table.h:325
OptixResult(* optixModuleCreateWithTasks)(OptixDeviceContext context, const OptixModuleCompileOptions *moduleCompileOptions, const OptixPipelineCompileOptions *pipelineCompileOptions, const char *input, size_t inputSize, char *logString, size_t *logStringSize, OptixModule *module, OptixTask *firstTask)
See optixModuleCreateWithTasks().
Definition: optix_function_table.h:118
OptixResult(* optixDeviceContextCreate)(CUcontext fromContext, const OptixDeviceContextOptions *options, OptixDeviceContext *context)
See optixDeviceContextCreate().
Definition: optix_function_table.h:71
OptixResult(* optixModuleCreate)(OptixDeviceContext context, const OptixModuleCompileOptions *moduleCompileOptions, const OptixPipelineCompileOptions *pipelineCompileOptions, const char *input, size_t inputSize, char *logString, size_t *logStringSize, OptixModule *module)
See optixModuleCreate().
Definition: optix_function_table.h:108
OptixResult(* optixSbtRecordPackHeader)(OptixProgramGroup programGroup, void *sbtRecordHeaderHostPointer)
See optixConvertPointerToTraversableHandle().
Definition: optix_function_table.h:296
OptixResult(* optixOpacityMicromapArrayRelocate)(OptixDeviceContext context, CUstream stream, const OptixRelocationInfo *info, CUdeviceptr targetOpacityMicromapArray, size_t targetOpacityMicromapArraySizeInBytes)
See optixOpacityMicromapArrayRelocate().
Definition: optix_function_table.h:274
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)
See optixAccelBuild().
Definition: optix_function_table.h:205
OptixResult(* optixDenoiserInvoke)(OptixDenoiser denoiser, CUstream stream, const OptixDenoiserParams *params, CUdeviceptr denoiserState, size_t denoiserStateSizeInBytes, const OptixDenoiserGuideLayer *guideLayer, const OptixDenoiserLayer *layers, unsigned int numLayers, unsigned int inputOffsetX, unsigned int inputOffsetY, CUdeviceptr scratch, size_t scratchSizeInBytes)
See optixDenoiserInvoke().
Definition: optix_function_table.h:335
OptixResult(* optixModuleDestroy)(OptixModule module)
See optixModuleDestroy().
Definition: optix_function_table.h:132
OptixResult(* optixAccelCompact)(OptixDeviceContext context, CUstream stream, OptixTraversableHandle inputHandle, CUdeviceptr outputBuffer, size_t outputBufferSizeInBytes, OptixTraversableHandle *outputHandle)
See optixAccelCompact().
Definition: optix_function_table.h:239
OptixResult(* optixProgramGroupDestroy)(OptixProgramGroup programGroup)
See optixProgramGroupDestroy().
Definition: optix_function_table.h:164
OptixResult(* optixAccelComputeMemoryUsage)(OptixDeviceContext context, const OptixAccelBuildOptions *accelOptions, const OptixBuildInput *buildInputs, unsigned int numBuildInputs, OptixAccelBufferSizes *bufferSizes)
See optixAccelComputeMemoryUsage().
Definition: optix_function_table.h:198
OptixResult(* optixProgramGroupCreate)(OptixDeviceContext context, const OptixProgramGroupDesc *programDescriptions, unsigned int numProgramGroups, const OptixProgramGroupOptions *options, char *logString, size_t *logStringSize, OptixProgramGroup *programGroups)
See optixProgramGroupCreate().
Definition: optix_function_table.h:155
OptixResult(* optixDenoiserComputeMemoryResources)(const OptixDenoiser handle, unsigned int maximumInputWidth, unsigned int maximumInputHeight, OptixDenoiserSizes *returnSizes)
See optixDenoiserComputeMemoryResources().
Definition: optix_function_table.h:319
OptixResult(* optixDenoiserComputeIntensity)(OptixDenoiser handle, CUstream stream, const OptixImage2D *inputImage, CUdeviceptr outputIntensity, CUdeviceptr scratch, size_t scratchSizeInBytes)
See optixDenoiserComputeIntensity().
Definition: optix_function_table.h:349
Image descriptor used by the denoiser.
Definition: optix_types.h:1573
Conservative memory requirements for building a opacity/displacement micromap array.
Definition: optix_types.h:1245
Buffer inputs for opacity/displacement micromap array builds.
Definition: optix_types.h:1252
Compilation options for module.
Definition: optix_types.h:2025
Inputs to opacity micromap array construction.
Definition: optix_types.h:1220
Compilation options for all modules of a pipeline.
Definition: optix_types.h:2309
Descriptor for program groups.
Definition: optix_types.h:2136
Program group options.
Definition: optix_types.h:2162
Relocation inputs.
Definition: optix_types.h:1042
Used to store information related to relocation of optix data structures.
Definition: optix_types.h:1384
Describes the shader binding table (SBT)
Definition: optix_types.h:2355
Describes the stack size requirements of a program group.
Definition: optix_types.h:2395