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

interface ITexelBufferInfo in Tinman.Terrain.Rendering

interface ITexelBufferInfo extends ISrgb
  base of TexelBuffer

Attributes

Format

The texture format of this texel buffer.

property Format { get }
type TextureFormat
value The texture format.

Height

The texel buffer height.

property Height { get }
type int32
value [>0] The buffer height, in texels.

MipmapCount

The number of mipmap levels.

property MipmapCount { get }
type int32
value [>=1] The mipmap level count.

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.
inherited ISrgb.Srgb

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

Width

The texel buffer width.

property Width { get }
type int32
value [>0] The buffer width, in texels.