Example #1
0
 public static extern unsafe OptixResult Invoke(OptixDenoiser denoiser, CudaStream stream,
                                                OptixDenoiserParams *parameters, CudaBuffer denoiserState, SizeT denoiserStateSizeInBytes,
                                                OptixImage2D *inputLayers, uint numInputLayers, uint inputOffsetX, uint inputOffsetY,
                                                OptixImage2D *outputLayer, CudaBuffer scratch, SizeT scratchSizeInBytes);
Example #2
0
 public static extern OptixResult Destroy(OptixDenoiser device);
Example #3
0
 public static extern unsafe OptixResult ComputeMemoryResources(OptixDenoiser denoiser, uint outputWidth, uint outputHeight,
                                                                OptixDenoiserSizes *returnSizes);
Example #4
0
 public static extern unsafe OptixResult ComputeIntensity(OptixDenoiser denoiser, CudaStream stream,
                                                          OptixImage2D *inputImage, CudaBuffer outputIntensity, CudaBuffer scratch, SizeT scratchSizeInBytes);
Example #5
0
 public static extern OptixResult Setup(OptixDenoiser denoiser, CudaStream stream, uint outputWidth, uint outputHeight,
                                        CudaBuffer denoiserState, SizeT denoiserStateSizeInBytes, CudaBuffer scratch, SizeT scratchSizeInBytes);
Example #6
0
 public static extern OptixResult SetModel(OptixDenoiser denoiser, OptixModelKind kind, IntPtr data, SizeT sizeInBytes);
Example #7
0
 public static extern unsafe OptixResult Create(OptixDeviceContext context, OptixDenoiserOptions *options, ref OptixDenoiser outDenoiser);