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 #213 background imageLoading...
Page #213 background image
G
glGetTexEnv
Chapter 7
213
glGetTexEnv
glGetTexEnvfv, glGetTexEnviv: return texture environment parameters.
C Specification
void glGetTexEnvfv(
GLenum target,
GLenum pname,
GLfloat *params)
void glGetTexEnviv(
GLenum target,
GLenum pname,
GLint *params)
Parameters
target Specifies a texture environment. Must be GL_TEXTURE_ENV.
pname Specifies the symbolic name of a texture environment parameter.
Accepted values are GL_TEXTURE_ENV_MODE
GL_TEXTURE_ENV_COLOR and
GL_TEXTURE_LIGHTING_MODE_hp.
params Returns the requested data.
Description
glGetTexEnv returns in params selected values of a texture environment that was
specified with glTexEnv. target specifies a texture environment. Currently, only one
texture environment is defined and supported: GL_TEXTURE_ENV.
pname names a specific texture environment parameter, as follows:
GL_TEXTURE_ENV_MODE
params returns the single-valued texture environment mode, a symbolic constant. The
initial value is GL_MODULATE.
GL_TEXTURE_ENV_COLOR
params returns four integer or floating-point values that are the texture environment
color. Integer values, when requested, are linearly mapped from the internal
floating-point representation such that 1.0 maps to the most positive representable
integer, and - 1.0 maps to the most negative representable integer. The initial value is (0,
0, 0, 0).
GL_TEXTURE_LIGHTING_MODE_hp
params returns the single-valued texture lighting mode, a symbolic constant.
Notes
If an error is generated, no change is made to the contents of params.

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