Enumeration TextureBaseFormat

Formats for the color components in a texture.

Enumeration Members

ALPHA: 6406

Each element is a single alpha component. Components are converted to floating-point, clamped to [0,1], and assembled into an RGBA element by using 0 for red, green, and blue.

DEPTH_COMPONENT: 6402

Each element contains a single depth value. Components are converted to floating-point and clamped to [0,1].

DEPTH_STENCIL: 34041

Each element is a pair of depth and stencil values. The depth component is interpreted as with DEPTH_COMPONENT. The stencil component is interpreted based on the internal format.

LUMINANCE: 6409

Each element is a single luminance component. Components are converted to floating-point, clamped to [0,1], and assembled into an RGBA element by using the luminance value for red, green, and blue and 1 for alpha.

LUMINANCE_ALPHA: 6410

Each element is a luminance/alpha double. Components are converted to floating-point, clamped to [0,1], and assembled into an RGBA element by using the luminance value for red, green, and blue.

RED: 6403

Each element is a single red component. Fixed-point normalized components are converted to floating-point, clamped to [0,1], and assembled into an RGBA element by using 0 for green and blue and 1 for alpha.

RED_INTEGER: 36244

Each element is a single red component. Components are assembled into an RGBA element by using 0 for green and blue and 1 for alpha.

RG: 33319

Each element is a red/green double. Fixed-point normalized components are converted to floating-point, clamped to [0,1], and assembled into an RGBA element by using 0 for blue and 1 for alpha.

RGB: 6407

Each element is a red/green/blue triple. Fixed-point normalized components are converted to floating-point, clamped to [0,1], and assembled into an RGBA element by using 1 for alpha.

RGBA: 6408

Each element contains all four components.

RGBA_INTEGER: 36249

Indicates that a texture uses the red, green, blue, and alpha channels and stores integers.

RGB_INTEGER: 36248

Each element contains all four components.

RG_INTEGER: 33320

Each element is a red/green double. Components are assembled into an RGBA element by using 0 for blue and 1 for alpha.

Generated using TypeDoc