Skip to content

GlStateKey

enum GlStateKey
Package: dev.joid.base.opengl.render.state · Module: base-opengl · Source: GlStateKey.java
Backends: LWJGL 2 LWJGL 3

The kinds of OpenGL state that the journal records, in the order in which it restores them.

ValueSummary
READ_BUFFERThe read buffer of a framebuffer.
FRAMEBUFFERThe framebuffer bound to the draw or the read target.
RENDERBUFFERThe bound renderbuffer.
PROGRAMThe current program.
VERTEX_ATTRIBUTEThe pointer and the enabled flag of a vertex attribute.
VERTEX_ARRAYThe bound vertex array.
BUFFERThe buffer bound to a target.
TEXTURE_PARAMETERA parameter of a texture.
TEXTUREThe texture bound to a unit.
SAMPLERThe sampler bound to a unit.
CURRENT_VERTEX_ATTRIBUTEThe current value of a vertex attribute.
CAPABILITYA capability switched with glEnable.
BLEND_EQUATIONThe blend equations.
BLEND_FUNCTIONThe blend factors.
COLOR_MASKThe color write mask.
CLEAR_COLORThe clear color.
CLEAR_DEPTHThe clear depth.
CLEAR_STENCILThe clear stencil value.
DEPTH_MASKThe depth write mask.
DEPTH_FUNCTIONThe depth function.
STENCIL_MASKThe stencil write masks.
STENCIL_FUNCTIONThe stencil functions.
STENCIL_OPERATIONThe stencil operations.
VIEWPORTThe viewport.
LINE_WIDTHThe line width.
POLYGON_MODEThe polygon mode.
FRONT_FACEThe winding of front faces.
CULL_FACEThe culled face.
PIXEL_STOREA pixel storage parameter.
ACTIVE_TEXTUREThe active texture unit, restored last.

READ_BUFFER

The read buffer of a framebuffer.

FRAMEBUFFER

The framebuffer bound to the draw or the read target.

RENDERBUFFER

The bound renderbuffer.

PROGRAM

The current program.

VERTEX_ATTRIBUTE

The pointer and the enabled flag of a vertex attribute.

VERTEX_ARRAY

The bound vertex array.

BUFFER

The buffer bound to a target.

TEXTURE_PARAMETER

A parameter of a texture.

TEXTURE

The texture bound to a unit.

SAMPLER

The sampler bound to a unit.

CURRENT_VERTEX_ATTRIBUTE

The current value of a vertex attribute.

CAPABILITY

A capability switched with glEnable.

BLEND_EQUATION

The blend equations.

BLEND_FUNCTION

The blend factors.

COLOR_MASK

The color write mask.

CLEAR_COLOR

The clear color.

CLEAR_DEPTH

The clear depth.

CLEAR_STENCIL

The clear stencil value.

DEPTH_MASK

The depth write mask.

DEPTH_FUNCTION

The depth function.

STENCIL_MASK

The stencil write masks.

STENCIL_FUNCTION

The stencil functions.

STENCIL_OPERATION

The stencil operations.

VIEWPORT

The viewport.

LINE_WIDTH

The line width.

POLYGON_MODE

The polygon mode.

FRONT_FACE

The winding of front faces.

CULL_FACE

The culled face.

PIXEL_STORE

A pixel storage parameter.

ACTIVE_TEXTURE

The active texture unit, restored last.


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page