EasyManuals Logo

HP b2600 Reference Guide

HP b2600
486 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #165 background imageLoading...
Page #165 background image
G
glGet
Chapter 7
165
glGet
glGetBooleanv, glGetDoublev, glGetFloatv, glGetIntegerv: return the
value or values of a selected parameter.
C Specification
void glGetBooleanv(
GLenum pname,
GLboolean *params)
void glGetDoublev(
GLenum pname,
GLdouble *params)
void glGetFloatv(
GLenum pname,
GLfloat *params)
void glGetIntegerv(
GLenum pname,
GLint *params)
Parameters
pname Specifies the parameter value to be returned. The symbolic constants
in the list below are accepted.
params Returns the value or values of the specified parameter.
Description
These four commands return values for simple state variables in GL. pname is a
symbolic constant indicating the state variable to be returned, and params is a pointer
to an array of the indicated type in which to place the returned data.
Type conversion is performed if params has a different type than the state variable
value being requested. If glGetBooleanv is called, a floating-point (or integer) value is
converted to GL_FALSE if and only if it is 0.0 (or 0). Otherwise, it is converted to
GL_TRUE. If glGetIntegerv is called, boolean values are returned as GL_TRUE or
GL_FALSE, and most floating-point values are rounded to the nearest integer value.
Floating-point colors and normals, however, are returned with a linear mapping that
maps 1.0 to the most positive representable integer value, and - 1.0 to the most negative
representable integer value. If glGetFloatv or glGetDoublev is called, boolean values are
returned as GL_TRUE or GL_FALSE, and integer values are converted to floating-point
values.
The following symbolic constants are accepted by pname:
GL_ACCUM_ALPHA_BITS
params returns one value, the number of alpha bitplanes in the accumulation buffer.
GL_ACCUM_BLUE_BITS
params returns one value, the number of blue bitplanes in the accumulation buffer.

Table of Contents

Other manuals for HP b2600

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP b2600 and is the answer not in the manual?

HP b2600 Specifications

General IconGeneral
BrandHP
Modelb2600
CategoryDesktop
LanguageEnglish

Related product manuals