HP b2600 Reference Manual page 220

Opengl 1.1 reference
Hide thumbs Also See for b2600:
Table of Contents

Advertisement

G
glGetTexLevelParameter
pname specifies the texture parameter whose value or values will be returned.
The accepted parameter names are as follows:
GL_TEXTURE_WIDTH
params returns a single value, the width of the texture image. This value includes the
border of the texture image. The initial value is 0.
GL_TEXTURE_HEIGHT
params returns a single value, the height of the texture image. This value includes the
border of the texture image. The initial value is 0.
GL_TEXTURE_INTERNAL_FORMAT
params returns a single value, the internal format of the texture image.
GL_TEXTURE_BORDER
params returns a single value, the width in pixels of the border of the texture image. The
initial value is 0.
GL_TEXTURE_RED_SIZE,GL_TEXTURE_GREEN_SIZE,
GL_TEXTURE_BLUE_SIZE, GL_TEXTURE_ALPHA_SIZE,
GL_TEXTURE_LUMINANCE_SIZE, and GL_TEXTURE_INTENSITY_SIZE
The internal storage resolution of an individual component. The resolution chosen by the
GL will be a close match for the resolution requested by the user with the component
argument of glTexImage1D or glTexImage2D. The initial value is 0.
Notes
If an error is generated, no change is made to the contents of params.
GL_TEXTURE_INTERNAL_FORMAT is only available if the GL version is 1.1 or
greater. In version 1.0, use GL_TEXTURE_COMPONENTS instead.
GL_PROXY_TEXTURE_1D and GL_PROXY_TEXTURE_2D are only available if the GL
version is 1.1 or greater.
Errors
See Also
glGetTexParameter,
glCopyTexImage1D,
glCopyTexImage2D,
glCopyTexSubImage1D,
glCopyTexSubImage2D,
220
GL_INVALID_ENUM is generated if target or pname is not an accepted value.
GL_INVALID_VALUE is generated if level is less than 0.
GL_INVALID_VALUE may be generated if level is greater than $ log sub 2$ max,
where max is the returned value of GL_MAX_TEXTURE_SIZE.
GL_INVALID_OPERATION is generated if glGetTexLevelParameter is executed
between the execution of glBegin and the corresponding execution of glEnd.
Chapter 7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents