GL_APICALL void GL_APIENTRY glGetTexParameterfv(
GLenum target,
GLenum pname,
GLfloat * params
);
| Name | Description | |
|---|---|---|
| in | target | Target texture |
| in | pname | Name of the parameter to get |
| out | params | Array storing the obtained parameters |
Gets GLfloat-type values for the parameters of texture objects that are currently bound.
Set target to GL_TEXTURE_2D or GL_TEXTURE_CUBE_MAP.
Set pname to one of the following values.
| GL_TEXTURE_BORDER_COLOR | Gets the border color. |
|---|---|
| GL_TEXTURE_LOD_BIAS | Gets the texture LOD bias. |
In addition to those above, you can also specify parameters that can be obtained with glGetTexParameteriv. However, values are cast to type GLfloat.
This function generates the following errors.
| GL_INVALID_ENUM | The target or pname argument was set to an invalid value. |
|---|
CONFIDENTIAL