Skip to content

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.

ReturnsSignatureSummary
voidread(int face, int name, float[] values) abstractWrites the four values of that material parameter of that face into the array, as glGetMaterialfv does.

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

Report a problem with this page