ISrgb

Description

interface Tinman.Terrain.Util.ISrgb

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

Public / Attributes

Srgb


public attribute Srgb → (get,set)

value : bool

true if the pixel channel values are compressed,
false if pixel channel values are linear.

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

This flag is taken into account when pixel channel values are encoded from resp. decoded 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.