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

enum Tinman.Image.Channel

Short Name:
  • enum Channel

Enumeration of pixel channels.

Items

The following table lists all iemts of this enum type, including their string tags (if defined).

Enumeration Item
Intensity  

Grayscale intensity (defaults to 0).

During scanline processing, this channel is 24-bits wide. Afterwards it is 16-bits wide.

Red  

Red channel (defaults to 0).

During scanline processing, this channel is 24-bits wide. Afterwards it is 16-bits wide.

Green  

Green channel (defaults to 0).

During scanline processing, this channel is 24-bits wide. Afterwards it is 16-bits wide.

Blue  

Blue channel (defaults to 0).

During scanline processing, this channel is 24-bits wide. Afterwards it is 16-bits wide.

Alpha  

Alpha channel (defaults to 16777215).

During scanline processing, this channel is 24-bits wide. Afterwards it is 16-bits wide.

Void  

Void mask channel (defaults to 16777215).

The void mask channel only has one bit per pixel, which is computed from pixel channel values using this formula:

void := (value + 8388607) / 16777215

Pixel channel values in the range [0..8388607] are thus mapped to void pixels, and values within [8388608..16777215] are mapped to existent pixels.

Usages

The following table shows all usages of this config type.

Used By: