GlStateSnapshot.MaterialReader
interface GlStateSnapshot.MaterialReader
Package: dev.joid.base.opengl.snapshot · Module: base-opengl · Source: GlStateSnapshot.java
Backends: LWJGL 2 LWJGL 3
Reads a material of the fixed-function pipeline, which IGlBinding does not query.
Learn more
Section titled “Learn more”Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
void | read(int face, int name, float[] values) abstract | Writes the four values of that material parameter of that face into the array, as glGetMaterialfv does. |
Method details
Section titled “Method details”void read(int face, int name, float[] values) abstract
Writes the four values of that material parameter of that face into the array, as glGetMaterialfv does.
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
