formZ SDK | 5.0 API Reference | System | Texture Maps

fz_tmap_channel_enum

Description

Defines which channels of a texture map file are requested to be loaded. This enum is used in the API function .

enum fz_tmap_channel_enum {

FZ_TMAP_CHANNEL_RGB,

FZ_TMAP_CHANNEL_ALPHA,

FZ_TMAP_CHANNEL_RGB_ALPHA };

Members

FZ_TMAP_CHANNEL_RGB

Load the red, green and blue channels of the file. These channels are always present, even if the texture is black and while or cmyk.

FZ_TMAP_CHANNEL_ALPHA

Load the alpha channel of the file. This option is only valid if the texture map possesses an alpha channel.

FZ_TMAP_CHANNEL_RGB_ALPHA

Load the red, green, blue and alpha channels of the file. This option is only valid if the texture map possesses an alpha channel.

Availability

5.0.0.0

See Also

Defined in

fz_tmap_api.h