Documentation

Unity Engine

Download Unity

Unity Engine

DenoiseBuffer

Denoise an image.
Read time 1 minuteLast updated 4 hours ago

Definition

DenoiseBuffer(DenoiseBufferType, float*, DenoiseChannels)

Denoise an image.
public int DenoiseBuffer(DenoiseBufferType type, float* dataIn, DenoiseChannels channels)

Parameters

Which input image the buffer supplies.

dataIn

The image to denoise, four floats per pixel.

Which channels of the buffer carry the signal.

Returns

Type

Description

int0 on success, -1 on failure.

DenoiseBuffer(string, float*, DenoiseChannels)

Denoise a buffer, naming the input by string.
Warning
Deprecated. Use the DenoiseBufferType overload.
public int DenoiseBuffer(string type, float* dataIn, DenoiseChannels channels)

Parameters

type

"color".

dataIn

The image to denoise, four floats per pixel.

Which channels of the buffer carry the signal.

Returns

Type

Description

int0 on success, -1 on failure.