gl

Wrappers for direct interaction with GL11 methods. Intended for advanced users only.

alpha

gl.alpha(boolean alpha);

Enables or disables alpha testing.

begin

gl.begin(int mode);

Starts specifying vertices for a primitive shape.

blend

gl.blend(boolean blend);

Enables or disables blending.

color

gl.color(float r, float g, float b, float a);

Sets the current drawing color with the specified RGBA values.

cull

gl.cull(boolean cull);

Enables or disables face culling.

depth

Enables or disables depth testing.

depthMask

Sets whether writing to the depth buffer is enabled or disabled.

disable

Disables a specific OpenGL capability.

disableItemLighting

Disables item lighting.

enable

Enables a specific OpenGL capability, such as blending or depth testing.

enableItemLighting

Enables item lighting, optionally for GUI items.

end

Completes the vertex specification.

lighting

Enables or disables lighting.

lineSmooth

Enables or disables line smoothing.

lineWidth

Sets the width of lines in OpenGL.

normal

Specifies a normal vector for lighting calculations.

pop

Pops the current matrix stack, restoring the previous transformation state.

push

Pushes the current matrix stack, saving the current transformation state.

rotate

Applies rotation to the current transformation matrix around the specified axis.

scale

Applies scaling to the current transformation matrix.

scissor

Enables or disables scissoring.

scissor

Sets the scissor box to the specified rectangle, restricting rendering operations to the defined area.

texture2d

Enables or disables 2D texturing.

translate

Applies translation to the current transformation matrix.

vertex2

Specifies a vertex with 2D coordinates.

vertex3

Specifies a vertex with 3D coordinates.

Last updated