TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

interface ISrgb in Tinman.Terrain.Util

Base interface for classes that need to decide on how to perform processing of sRGB pixel channel values.

interface ISrgb base of IImageWriter
  ITexelBufferInfo

Attributes

Srgb

Does this object store or process compressed sRGB pixel channel values?

property Srgb { get set }
type bool
value true if the pixel channel values are compressed false if pixel channel values are linear.

Remarks:

This flag is taken into account when pixels are encoded resp. decoded from resp. to a ColorBuffer, which always stores linear sRGB pixels: This object will only perform sRGB conversion if this flag is set to true.

The default value is true.

See also:

ColorF.ToSrgbF
ColorF.FromSrgbF