glTexParameterfv Function

Syntax

GL_APICALL void GL_APIENTRY glTexParameterfv(
     GLenum target,
     GLenum pname,
     const GLfloat * params
);

Parameters

Name Description
in target Target texture
in pname Name of the parameter to configure
in params Array storing the parameter settings

Return Values

No values are returned.

Description

Sets an array of texture parameter settings with GLfloat-type values.

Set target to the following values.

GL_TEXTURE_2D2D texture
GL_TEXTURE_CUBE_MAPCube-map texture

Set pname to one of the following values.

GL_TEXTURE_BORDER_COLORSpecifies the texture border color using 4 elements.
GL_TEXTURE_LOD_BIASSpecifies the texture LOD bias. For this, set params[0] to a value in the range [-16,16].
You can also specify parameters that can be specified with glTexParameteriv.

This function generates the following errors.

GL_INVALID_ENUMThe target or pname argument was set to an invalid value.
GL_INVALID_VALUEThe param argument was set to an invalid value.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL