GlProfile
enum GlProfile
Package: dev.joid.base.opengl.capability · Module: base-opengl · Source: GlProfile.java
Backends: LWJGL 2 LWJGL 3
Whether an OpenGL context keeps the fixed pipeline (compatibility) or drops it (core, forward-compatible core).
Learn more
Section titled “Learn more”Values
Section titled “Values”| Value | Summary |
|---|---|
COMPATIBILITY | A context that keeps the fixed pipeline: the state guard also turns off fog, lighting, alpha test and color material for JOID. |
CORE | A core profile, without the fixed pipeline. |
CORE_FORWARD_COMPATIBLE | A forward-compatible core profile, the only kind of core context on macOS. |
Value details
Section titled “Value details”COMPATIBILITY
Section titled “COMPATIBILITY”COMPATIBILITY
A context that keeps the fixed pipeline: the state guard also turns off fog, lighting, alpha test and color material for JOID.
CORE
A core profile, without the fixed pipeline.
CORE_FORWARD_COMPATIBLE
Section titled “CORE_FORWARD_COMPATIBLE”CORE_FORWARD_COMPATIBLE
A forward-compatible core profile, the only kind of core context on macOS.
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
