GL_APICALL void GL_APIENTRY glDisable(
GLenum cap
);
| Name | Description | |
|---|---|---|
| in | cap | Name of feature to disable |
Disables specific GL features.
You can set cap to the following values.
| GL_COLOR_LOGIC_OP | Disables logical operations on pixels. |
|---|---|
| GL_BLEND | Disables the blend feature. |
| GL_DEPTH_TEST | Disables depth tests. |
| GL_STENCIL_TEST | Disables stencil tests. |
| GL_SCISSOR_TEST | Disables scissoring. |
| GL_CULL_FACE | Disables culling. |
| GL_POLYGON_OFFSET_FILL | Disables polygon offsets. |
| GL_EARLY_DEPTH_TEST_DMP | Disables early depth tests. |
GL_DEPTH_STENCIL_COPY_DMP | Disables the depth stencil copy feature. |
You cannot specify GL_EARLY_DEPTH_TEST_DMP from POD.
This function generates the following errors.
| GL_INVALID_ENUM | The cap argument was set to an invalid value. |
|---|---|
| GL_INVALID_OPERATION | This function was called without any command-list objects bound. |
GL_DEPTH_STENCIL_COPY_DMP for the depth stencil copy feature.CONFIDENTIAL