Signature
glTexStorage2D(
GLenum (
target
)
,
GLsizei (
levels
)
,
GLenum (
internalformat
)
,
GLsizei (
width
)
,
GLsizei (
height
)
)-> void
Parameters
| Variables | Description |
|---|---|
| target |
Specify the target of the operation.
target
must be
one of
GL_TEXTURE_2D
,
GL_PROXY_TEXTURE_2D
,
GL_TEXTURE_1D_ARRAY
,
GL_PROXY_TEXTURE_1D_ARRAY
,
GL_TEXTURE_RECTANGLE
,
GL_PROXY_TEXTURE_RECTANGLE
,
or
GL_PROXY_TEXTURE_CUBE_MAP
.
|
| levels |
Specify the number of texture levels.
|
| internalformat |
Specifies the sized internal format to be used to store texture image data.
|
| width |
Specifies the width of the texture, in texels.
|
| height |
Specifies the height of the texture, in texels.
|