format
must be ALPHA
. type
must be UNSIGNED_BYTE
. Color
renderable and texture filterable.
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.
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.
format
must be DEPTH_COMPONENT
. type
must be UNSIGNED_SHORT
or
UNSIGNED_INT
. Takes a 32-bit unsigned integer for the depth channel.
format
must be DEPTH_COMPONENT
. type
must be UNSIGNED_INT
. Takes
a 24-bit unsigned integer for the depth channel.
format
must be DEPTH_COMPONENT
. type
must be FLOAT
. Takes a
32-bit floating-point value for the depth channel.
format
must be LUMINANCE
. type
must be UNSIGNED_BYTE
. Color
renderable and texture filterable.
format
must be LUMINANCE_ALPHA
. type
must be UNSIGNED_BYTE
.
Color renderable and texture filterable.
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.
format
must be RED
. type
must be HALF_FLOAT
or FLOAT
. Takes a
16-bit floating-point number for the red channel. Texture filterable.
format
must be RED_INTEGER
. type
must be SHORT
. Takes a 16-bit
integer for the red channel. Color renderable.
format
must be RED_INTEGER
. type
must be UNSIGNED_SHORT
. Takes a
16-bit unsigned integer for the red channel. Color renderable.
format
must be RED
. type
must be FLOAT
. Takes a 32-bit
floating-point number for the red channel.
format
must be RED_INTEGER
. type
must be INT
. Takes a 32-bit
integer for the red channel. Color renderable.
format
must be RED_INTEGER
. type
must be UNSIGNED_INT
. Takes a
32-bit unsigned integer for the red channel. Color renderable.
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.
format
must be RED_INTEGER
. type
must be BYTE
. Takes an 8-bit
integer for the red channel. Color renderable.
format
must be RED_INTEGER
. type
must be UNSIGNED_BYTE
. Takes an
8-bit unsigned integer for the red channel. Color renderable.
format
must be RED
. type
must be BYTE
. Takes a signed 8-bit
number for the red channel, normalized to [-1,1]
. Texture filterable.
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.
format
must be RG_INTEGER
. type
must be SHORT
. Takes 16-bit
integers for the red and green channels. Color renderable.
format
must be RG_INTEGER
. type
must be UNSIGNED_SHORT
. Takes
16-bit unsigned integers for the red and green channels. Color
renderable.
format
must be RG
. type
must be FLOAT
. Takes 32-bit
floating-point numbers for the red and green channels.
format
must be RG_INTEGER
. type
must be INT
. Takes 32-bit
integers for the red and green channels. Color renderable.
format
must be RG_INTEGER
. type
must be UNSIGNED_INT
. Takes
32-bit unsigned integers for the red and green channels. Color
renderable.
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.
format
must be RG_INTEGER
. type
must be BYTE
. Takes 8-bit
integers for the red and green channels. Color renderable.
format
must be RG_INTEGER
. type
must be UNSIGNED_BYTE
. Takes
8-bit unsigned integers for the red and green channels. Color
renderable.
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.
format
must be RGB
. type
must be UNSIGNED_BYTE
or
UNSIGNED_SHORT_5_6_5
. Color renderable and texture filterable.
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.
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.
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.
format
must be RGB_INTEGER
. type
must be SHORT
. Takes 16-bit
integers for the red, green, and blue channels.
format
must be RGB_INTEGER
. type
must be UNSIGNED_SHORT
. Takes
16-bit unsigned integers for the red, green, and blue channels.
format
must be RGB
. type
must be FLOAT
. Takes 32-bit
floating-point numbers for the red, green, and blue channels.
format
must be RGB_INTEGER
. type
must be INT
. Takes 32-bit
integers for the red, green, and blue channels.
format
must be RGB_INTEGER
. type
must be UNSIGNED_INT
. Takes
32-bit unsigned integers for the red, green, and blue channels.
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.
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.
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.
format
must be RGB_INTEGER
. type
must be BYTE
. Takes 8-bit
integers for the red, green, and blue channels.
format
must be RGB_INTEGER
. type
must be UNSIGNED_BYTE
. Takes
8-bit unsigned integers for the red, green, and blue channels.
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.
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.
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.
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.
format
must be RGBA_INTEGER
. type
must be SHORT
. Takes 16-bit
integers for the red, green, blue, and alpha channels. Color renderable.
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.
format
must be RGBA
. type
must be FLOAT
. Takes 32-bit
floating-point numbers for the red, green, blue, and alpha channels.
format
must be RGBA_INTEGER
. type
must be INT
. Takes 32-bit
integers for the red, green, blue, and alpha channels. Color renderable.
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.
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.
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.
format
must be RGBA_INTEGER
. type
must be BYTE
. Takes 8-bit
integers for the red, green, blue, and alpha channels. Color renderable.
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.
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.
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.
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
Internal formats for the color components in a texture.
See
glTexImage3D