target
|
Specifies the symbolic name of the target texture,
one of
GL_TEXTURE_1D
,
GL_TEXTURE_2D
,
GL_TEXTURE_3D
,
GL_TEXTURE_1D_ARRAY
,
GL_TEXTURE_2D_ARRAY
,
GL_TEXTURE_RECTANGLE
,
GL_TEXTURE_2D_MULTISAMPLE
,
GL_TEXTURE_2D_MULTISAMPLE_ARRAY
,
GL_TEXTURE_CUBE_MAP_POSITIVE_X
,
GL_TEXTURE_CUBE_MAP_NEGATIVE_X
,
GL_TEXTURE_CUBE_MAP_POSITIVE_Y
,
GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
,
GL_TEXTURE_CUBE_MAP_POSITIVE_Z
,
GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
,
GL_PROXY_TEXTURE_1D
,
GL_PROXY_TEXTURE_2D
,
GL_PROXY_TEXTURE_3D
,
GL_PROXY_TEXTURE_1D_ARRAY
,
GL_PROXY_TEXTURE_2D_ARRAY
,
GL_PROXY_TEXTURE_RECTANGLE
,
GL_PROXY_TEXTURE_2D_MULTISAMPLE
,
GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY
,
GL_PROXY_TEXTURE_CUBE_MAP
, or
GL_TEXTURE_BUFFER
.
|
pname
|
Specifies the symbolic name of a texture parameter.
GL_TEXTURE_WIDTH
,
GL_TEXTURE_HEIGHT
,
GL_TEXTURE_DEPTH
,
GL_TEXTURE_INTERNAL_FORMAT
,
GL_TEXTURE_RED_SIZE
,
GL_TEXTURE_GREEN_SIZE
,
GL_TEXTURE_BLUE_SIZE
,
GL_TEXTURE_ALPHA_SIZE
,
GL_TEXTURE_DEPTH_SIZE
,
GL_TEXTURE_COMPRESSED
,
GL_TEXTURE_COMPRESSED_IMAGE_SIZE
, and
GL_TEXTURE_BUFFER_OFFSET
are accepted.
|