API Reference · Capturing a frame

CaptureFormat

Namespace: Ava3D

public enum CaptureFormat

What a CapturedFrame holds its pixels as.

Values

ValueDescription
Rgba8

Eight bits a channel, straight alpha, rows top to bottom, tightly packed — display-encoded sRGB, the picture as it is shown. What every ordinary screenshot wants.

RgbaF16

Sixteen-bit floats a channel, straight alpha, linear — the renderer's own colour before exposure, tone mapping and display encoding. Only a scene under Scene.LinearHdr has such a frame; a request for it from any other scene fails with NotSupportedException.

Png

The CaptureFormat.Rgba8 picture, PNG-encoded — the bytes of a file, ready to write.

See also