Enumeration TextureInternalFormat

Internal formats for the color components in a texture.

Enumeration Members

ALPHA: 6406

format must be ALPHA. type must be UNSIGNED_BYTE. Color renderable and texture filterable.

DEPTH24_STENCIL8: 35056

format must be DEPTH_STENCIL. type must be UNSIGNED_INT_24_8. Takes a 24-bit unsigned integer for the depth channel and an 8-bit unsigned integer for the stencil channel.

DEPTH32F_STENCIL8: 36013

format must be DEPTH_STENCIL. type must be FLOAT_32_UNSIGNED_INT_24_8_REV. Takes a 32-bit floating-point value for the depth channel and an 8-bit unsigned integer for the stencil channel.

DEPTH_COMPONENT16: 33189

format must be DEPTH_COMPONENT. type must be UNSIGNED_SHORT or UNSIGNED_INT. Takes a 32-bit unsigned integer for the depth channel.

DEPTH_COMPONENT24: 33190

format must be DEPTH_COMPONENT. type must be UNSIGNED_INT. Takes a 24-bit unsigned integer for the depth channel.

DEPTH_COMPONENT32F: 36012

format must be DEPTH_COMPONENT. type must be FLOAT. Takes a 32-bit floating-point value for the depth channel.

LUMINANCE: 6409

format must be LUMINANCE. type must be UNSIGNED_BYTE. Color renderable and texture filterable.

LUMINANCE_ALPHA: 6410

format must be LUMINANCE_ALPHA. type must be UNSIGNED_BYTE. Color renderable and texture filterable.

R11F_G11F_B10F: 35898

format must be RGB. type must be UNSIGNED_INT_10F_11F_11F_REV, HALF_FLOAT, or FLOAT. Takes 11-bit floating-point numbers for the red and green channels, and a 10-bit floating-point number for the blue channel. Texture filterable.

R16F: 33325

format must be RED. type must be HALF_FLOAT or FLOAT. Takes a 16-bit floating-point number for the red channel. Texture filterable.

R16I: 33331

format must be RED_INTEGER. type must be SHORT. Takes a 16-bit integer for the red channel. Color renderable.

R16UI: 33332

format must be RED_INTEGER. type must be UNSIGNED_SHORT. Takes a 16-bit unsigned integer for the red channel. Color renderable.

R32F: 33326

format must be RED. type must be FLOAT. Takes a 32-bit floating-point number for the red channel.

R32I: 33333

format must be RED_INTEGER. type must be INT. Takes a 32-bit integer for the red channel. Color renderable.

R32UI: 33334

format must be RED_INTEGER. type must be UNSIGNED_INT. Takes a 32-bit unsigned integer for the red channel. Color renderable.

R8: 33321

format must be RED. type must be UNSIGNED_BYTE. Takes an 8-bit number for the red channel, normalized to [0,1]. Color renderable and texture filterable.

R8I: 33329

format must be RED_INTEGER. type must be BYTE. Takes an 8-bit integer for the red channel. Color renderable.

R8UI: 33330

format must be RED_INTEGER. type must be UNSIGNED_BYTE. Takes an 8-bit unsigned integer for the red channel. Color renderable.

R8_SNORM: 36756

format must be RED. type must be BYTE. Takes a signed 8-bit number for the red channel, normalized to [-1,1]. Texture filterable.

RG16F: 33327

format must be RG. type must be HALF_FLOAT or FLOAT. Takes 16-bit floating-point numbers for the red and green channels. Texture filterable.

RG16I: 33337

format must be RG_INTEGER. type must be SHORT. Takes 16-bit integers for the red and green channels. Color renderable.

RG16UI: 33338

format must be RG_INTEGER. type must be UNSIGNED_SHORT. Takes 16-bit unsigned integers for the red and green channels. Color renderable.

RG32F: 33328

format must be RG. type must be FLOAT. Takes 32-bit floating-point numbers for the red and green channels.

RG32I: 33339

format must be RG_INTEGER. type must be INT. Takes 32-bit integers for the red and green channels. Color renderable.

RG32UI: 33340

format must be RG_INTEGER. type must be UNSIGNED_INT. Takes 32-bit unsigned integers for the red and green channels. Color renderable.

RG8: 33323

format must be RG. type must be UNSIGNED_BYTE. Takes 8-bit numbers for the red and green channels, normalized to [0,1]. Color renderable and texture filterable.

RG8I: 33335

format must be RG_INTEGER. type must be BYTE. Takes 8-bit integers for the red and green channels. Color renderable.

RG8UI: 33336

format must be RG_INTEGER. type must be UNSIGNED_BYTE. Takes 8-bit unsigned integers for the red and green channels. Color renderable.

RG8_SNORM: 36757

format must be RG. type must be BYTE. Takes signed 8-bit numbers for the red and green channels, normalized to [-1,1]. Texture filterable.

RGB: 6407

format must be RGB. type must be UNSIGNED_BYTE or UNSIGNED_SHORT_5_6_5. Color renderable and texture filterable.

RGB10_A2: 32857

format must be RGBA. type must be UNSIGNED_INT_2_10_10_10_REV. Takes 10-bit numbers for the red, green, and blue channels and a 2-bit number for the alpha channel, normalized to [0,1]. Color renderable and texture filterable.

RGB10_A2UI: 36975

format must be RGBA_INTEGER. type must be UNSIGNED_INT_2_10_10_10_REV. Takes unsigned 10-bit integers for the red, green, and blue channels and a 2-bit unsigned integer for the alpha channel. Color renderable.

RGB16F: 34843

format must be RGB. type must be HALF_FLOAT or FLOAT. Takes 16-bit floating-point numbers for the red, green, and blue channels. Texture filterable.

RGB16I: 36233

format must be RGB_INTEGER. type must be SHORT. Takes 16-bit integers for the red, green, and blue channels.

RGB16UI: 36215

format must be RGB_INTEGER. type must be UNSIGNED_SHORT. Takes 16-bit unsigned integers for the red, green, and blue channels.

RGB32F: 34837

format must be RGB. type must be FLOAT. Takes 32-bit floating-point numbers for the red, green, and blue channels.

RGB32I: 36227

format must be RGB_INTEGER. type must be INT. Takes 32-bit integers for the red, green, and blue channels.

RGB32UI: 36209

format must be RGB_INTEGER. type must be UNSIGNED_INT. Takes 32-bit unsigned integers for the red, green, and blue channels.

RGB565: 36194

format must be RGB. type must be UNSIGNED_BYTE or UNSIGNED_SHORT_5_6_5. Takes 5-bit numbers for the red and blue channels and a 6-bit number for the green channel, normalized to [0,1]. Color renderable and texture filterable.

RGB5_A1: 32855

format must be RGBA. type must be UNSIGNED_BYTE, UNSIGNED_SHORT_5_5_5_1, or UNSIGNED_INT_2_10_10_10_REV. Takes 5-bit numbers for the red, green, and blue channels and a 1-bit number for the alpha channel, normalized to [0,1]. Color renderable and texture filterable.

RGB8: 32849

format must be RGB. type must be UNSIGNED_BYTE. Takes 8-bit numbers for the red, green, and blue channels, normalized to [0,1]. Color renderable and texture filterable.

RGB8I: 36239

format must be RGB_INTEGER. type must be BYTE. Takes 8-bit integers for the red, green, and blue channels.

RGB8UI: 36221

format must be RGB_INTEGER. type must be UNSIGNED_BYTE. Takes 8-bit unsigned integers for the red, green, and blue channels.

RGB8_SNORM: 36758

format must be RGB. type must be BYTE. Takes signed 8-bit numbers for the red, green, and blue channels, normalized to [-1,1]. Texture filterable.

RGB9_E5: 35901

format must be RGB. type must be UNSIGNED_INT_5_9_9_9_REV, HALF_FLOAT, or FLOAT. Takes 9-bit numbers for the red, green, and blue channels, normalized to [0,1], with 5 shared bits. Texture filterable.

RGBA: 6408

format must be RGBA. type must be UNSIGNED_BYTE, UNSIGNED_SHORT_4_4_4_4, or UNSIGNED_SHORT_5_5_5_1. Color renderable and texture filterable.

RGBA16F: 34842

format must be RGBA. type must be HALF_FLOAT or FLOAT. Takes 16-bit floating-point numbers for the red, green, blue, and alpha channels. Texture filterable.

RGBA16I: 36232

format must be RGBA_INTEGER. type must be SHORT. Takes 16-bit integers for the red, green, blue, and alpha channels. Color renderable.

RGBA16UI: 36214

format must be RGBA_INTEGER. type must be UNSIGNED_SHORT. Takes 16-bit unsigned integers for the red, green, blue, and alpha channels. Color renderable.

RGBA32F: 34836

format must be RGBA. type must be FLOAT. Takes 32-bit floating-point numbers for the red, green, blue, and alpha channels.

RGBA32I: 36226

format must be RGBA_INTEGER. type must be INT. Takes 32-bit integers for the red, green, blue, and alpha channels. Color renderable.

RGBA32UI: 36208

format must be RGBA_INTEGER. type must be UNSIGNED_INT. Takes 32-bit unsigned integers for the red, green, blue, and alpha channels. Color renderable.

RGBA4: 32854

format must be RGBA. type must be UNSIGNED_BYTE or UNSIGNED_SHORT_4_4_4_4. Takes 4-bit numbers for the red, green, blue, and alpha channels, normalized to [0,1]. Color renderable and texture filterable.

RGBA8: 32856

format must be RGBA. type must be UNSIGNED_BYTE. Takes 8-bit numbers for the red, green, blue, and alpha channels, normalized to [0,1]. Color renderable and texture filterable.

RGBA8I: 36238

format must be RGBA_INTEGER. type must be BYTE. Takes 8-bit integers for the red, green, blue, and alpha channels. Color renderable.

RGBA8UI: 36220

format must be RGBA_INTEGER. type must be UNSIGNED_BYTE. Takes 8-bit unsigned integers for the red, green, blue, and alpha channels. Color renderable.

RGBA8_SNORM: 36759

format must be RGBA. type must be BYTE. Takes signed 8-bit numbers for the red, green, blue, and alpha channels, normalized to [-1,1]. Texture filterable.

SRGB8: 35905

format must be RGB. type must be UNSIGNED_BYTE. Takes 8-bit numbers for the red, green, and blue channels, normalized to [0,1]. Texture filterable.

SRGB8_ALPHA8: 35907

format must be RGBA. type must be UNSIGNED_BYTE. Takes 8-bit numbers for the red, green, blue, and alpha channels, normalized to [0,1]. Color renderable and texture filterable.

Generated using TypeDoc