public static extern CudaError Deallocate(CudaBuffer buffer);
public static extern CudaError Allocate(SizeT sizeInBytes, ref CudaBuffer outBuffer);
public static extern unsafe OptixResult ComputeIntensity(OptixDenoiser denoiser, CudaStream stream, OptixImage2D *inputImage, CudaBuffer outputIntensity, CudaBuffer scratch, SizeT scratchSizeInBytes);
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);
public static extern OptixResult Setup(OptixDenoiser denoiser, CudaStream stream, uint outputWidth, uint outputHeight, CudaBuffer denoiserState, SizeT denoiserStateSizeInBytes, CudaBuffer scratch, SizeT scratchSizeInBytes);