This extension provides two-sided stencil testing where the stencil-related state (stencil operations, reference value, compare mask, and write mask) may be different for front- and back-facing polygons. Two-sided stencil testing may improve the performance of stenciled shadow volume and Constructive Solid Geometry (CSG) rendering algorithms.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_ACTIVE_STENCIL_FACE_EXT
Accepted by the |
| public static final int | GL_STENCIL_TEST_TWO_SIDE_EXT
Accepted by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static native void |
| GL_ACTIVE_STENCIL_FACE_EXT | back to summary |
|---|---|
| public static final int GL_ACTIVE_STENCIL_FACE_EXT Accepted by the | |
| GL_STENCIL_TEST_TWO_SIDE_EXT | back to summary |
|---|---|
| public static final int GL_STENCIL_TEST_TWO_SIDE_EXT Accepted by the | |
| EXTStencilTwoSide | back to summary |
|---|---|
| protected EXTStencilTwoSide() | |
| glActiveStencilFaceEXT | back to summary |
|---|---|
| public static native void glActiveStencilFaceEXT(int face) | |