struct render::CaptureSettings

Settings that control renderer scene capture.

Public

Fields

Hdr

bool Hdr

If true scene will be captured in a format that supports high dynamic range.

EncodeDepth

bool EncodeDepth

When enabled the alpha channel of the final render target will be populated with an encoded depth value.

Parameters and control which range of the depth buffer to encode.

DepthEncodeNear

float DepthEncodeNear

Controls at which position to start encoding depth, in view space.

Only relevant with is enabled. Depth will be linearly interpolated between this value and .

DepthEncodeFar

float DepthEncodeFar

Controls at which position to stop encoding depth, in view space.

Only relevant with is enabled. Depth will be linearly interpolated between and this value.