GL_APICALL void GL_APIENTRY glTexParameterfv(
GLenum target,
GLenum pname,
const GLfloat * params
);
| Name | Description | |
|---|---|---|
| in | target | Target texture |
| in | pname | Name of the parameter to configure |
| in | params | Array storing the parameter settings |
Sets an array of texture parameter settings with GLfloat-type values.
Set target to the following values.
| GL_TEXTURE_2D | 2D texture |
|---|---|
| GL_TEXTURE_CUBE_MAP | Cube-map texture |
Set pname to one of the following values.
| GL_TEXTURE_BORDER_COLOR | Specifies the texture border color using 4 elements. |
|---|---|
| GL_TEXTURE_LOD_BIAS | Specifies the texture LOD bias. For this, set params[0] to a value in the range [-16,16]. |
glTexParameteriv.
This function generates the following errors.
| GL_INVALID_ENUM | The target or pname argument was set to an invalid value. |
|---|---|
| GL_INVALID_VALUE | The param argument was set to an invalid value. |
CONFIDENTIAL