FixedMatrixImport
final class FixedMatrixImport
Package: dev.joid.base.opengl.render.state · Module: base-opengl · Source: FixedMatrixImport.java
Backends: LWJGL 2 LWJGL 3
Loads the projection and modelview matrices of the fixed pipeline of a compatibility host into the matrix stacks of JOID.
Learn more
Section titled “Learn more”Creation
Section titled “Creation”| Returns | Signature | Summary |
|---|---|---|
FixedMatrixImport | create(GlRenderBridge bridge) factory | Creates the import for the bridge. |
Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
void | apply() | Reads the projection and the modelview matrices of OpenGL and loads them into the projection and modelview stacks of the bridge. |
Creation details
Section titled “Creation details”create
Section titled “create”FixedMatrixImport create(GlRenderBridge bridge) factory
Throws:
IllegalStateException: Only a compatibility context has fixed-function matrices to import, this context is … with …: create the context with the compatibility profile to import them
Creates the import for the bridge.
Throws an IllegalStateException when the context is not a compatibility context, which has no fixed-function matrices.
Method details
Section titled “Method details”void apply()
Reads the projection and the modelview matrices of OpenGL and loads them into the projection and modelview stacks of the bridge.
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
