All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.opengl.EXTStencilTwoSide Maven / Gradle / Ivy

/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 * MACHINE GENERATED FILE, DO NOT EDIT
 */
package org.lwjgl.opengl;

import static org.lwjgl.system.Checks.*;

/**
 * Native bindings to the EXT_stencil_two_side extension.
 * 
 * 

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.

*/ public class EXTStencilTwoSide { /** * Accepted by the {@code cap} parameter of Enable, Disable, and IsEnabled, and by the {@code pname} parameter of GetBooleanv, GetIntegerv, GetFloatv, and * GetDoublev. */ public static final int GL_STENCIL_TEST_TWO_SIDE_EXT = 0x8910; /** Accepted by the {@code pname} parameters of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. */ public static final int GL_ACTIVE_STENCIL_FACE_EXT = 0x8911; static { GL.initialize(); } protected EXTStencilTwoSide() { throw new UnsupportedOperationException(); } static boolean isAvailable(GLCapabilities caps) { return checkFunctions( caps.glActiveStencilFaceEXT ); } // --- [ glActiveStencilFaceEXT ] --- public static native void glActiveStencilFaceEXT(int face); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy