Enumeration TextureFormat

Formats for the color components in a texture.

Enumeration Members

ALPHA: 6406

Discards the red, green, and blue components and reads the alpha component.

LUMINANCE: 6409

Each color component is a luminance component, and alpha is one.

LUMINANCE_ALPHA: 6410

Each component is a luminance/alpha component.

R11F_G11F_B10F: 35898
R16F: 33325
R16I: 33331
R16UI: 33332
R32F: 33326
R32I: 33333
R32UI: 33334
R8: 33321
R8I: 33329
R8UI: 33330
R8_SNORM: 36756
RED: 6403
RED_INTEGER: 36244
RG: 33319
RG16F: 33327
RG16I: 33337
RG16UI: 33338
RG32F: 33328
RG32I: 33339
RG32UI: 33340
RG8: 33323
RG8I: 33335
RG8UI: 33336
RG8_SNORM: 36757
RGB: 6407

Discards the alpha component and reads the red, green, and blue components.

RGB10_A2: 32857
RGB10_A2UI: 36975
RGB16F: 34843
RGB16I: 36233
RGB16UI: 36215
RGB32F: 34837
RGB32I: 36227
RGB32UI: 36209
RGB565: 36194
RGB5_A1: 32855
RGB8: 32849
RGB8I: 36239
RGB8UI: 36221
RGB8_SNORM: 36758
RGB9_E5: 35901
RGBA: 6408

Reads the red, green, and blue components from the color buffer.

RGBA16F: 34842
RGBA16I: 36232
RGBA16UI: 36214
RGBA32F: 34836
RGBA32I: 36226
RGBA32UI: 36208
RGBA4: 32854
RGBA8: 32856
RGBA8I: 36238
RGBA8UI: 36220
RGBA8_SNORM: 36759
RGBA_INTEGER: 36249
RGB_INTEGER: 36248
RG_INTEGER: 33320
SRGB8: 35905
SRGB8_ALPHA8: 35907

Generated using TypeDoc