WEBGL_stencil_texturing
WebGL working group (public_webgl 'at' khronos.org)
Members of the WebGL working group
Last modified date: January 25, 2024
Revision: 2
WebGL extension #61
Written against the WebGL API 2.0 specification.
This extension exposes the ANGLE_stencil_texturing functionality to WebGL.
There are no WebGL-specific behavioral changes.
Consult the above extension for documentation, issues and new functions and enumerants.
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
interface WEBGL_stencil_texturing {
const GLenum DEPTH_STENCIL_TEXTURE_MODE_WEBGL = 0x90EA;
const GLenum STENCIL_INDEX_WEBGL = 0x1901;
};
DEPTH_STENCIL_TEXTURE_MODE_WEBGL is accepted as the pname parameter;
param must be DEPTH_COMPONENT (default) or STENCIL_INDEX_WEBGL.
DEPTH_STENCIL_TEXTURE_MODE_WEBGL is accepted as the pname parameter;
param must be DEPTH_COMPONENT (default) or STENCIL_INDEX_WEBGL.
A new enum DEPTH_STENCIL_TEXTURE_MODE_WEBGL is accepted as the pname parameter.
The return type of this method depends on the parameter queried:
| pname | returned type |
|---|---|
| DEPTH_STENCIL_TEXTURE_MODE_WEBGL | GLenum |
Revision 1, 2023/06/01
Revision 2, 2024/01/25