gl
Wrappers for direct interaction with GL11 methods. Intended for advanced users only.
gl.alpha(boolean alpha);
Enables or disables alpha testing.
Starts specifying vertices for a primitive shape.
gl.blend(boolean blend);
Enables or disables blending.
gl.color(float r, float g, float b, float a);
Sets the current drawing color with the specified RGBA values.
gl.cull(boolean cull);
Enables or disables face culling.
Enables or disables depth testing.
Sets whether writing to the depth buffer is enabled or disabled.
Disables a specific OpenGL capability.
disableItemLighting
Disables item lighting.
Enables a specific OpenGL capability, such as blending or depth testing.
enableItemLighting
Enables item lighting, optionally for GUI items.
Completes the vertex specification.
Enables or disables lighting.
Enables or disables line smoothing.
Sets the width of lines in OpenGL.
Specifies a normal vector for lighting calculations.
Pops the current matrix stack, restoring the previous transformation state.
Pushes the current matrix stack, saving the current transformation state.
Applies rotation to the current transformation matrix around the specified axis.
Applies scaling to the current transformation matrix.
Enables or disables scissoring.
Sets the scissor box to the specified rectangle, restricting rendering operations to the defined area.
Enables or disables 2D texturing.
Applies translation to the current transformation matrix.
Specifies a vertex with 2D coordinates.
Specifies a vertex with 3D coordinates.