IGlTexture
interface IGlTexture
Extends: ITexture
Known subtypes: GlBorrowedTexture, GlTexture
Package: dev.joid.base.opengl.render.texture · Module: base-opengl · Source: IGlTexture.java
Backends: LWJGL 2 LWJGL 3
A texture that the OpenGL render bridge binds by name, owned by JOID or borrowed from the host.
Learn more
Section titled “Learn more”Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
int | getId() abstract | Returns the OpenGL name of the texture. |
void | sample(TextureSampling sampling) abstract | Sets the filter and the wrap of the texture bound to the active unit, before a draw. |
Inherited from ITexture (1)
Method details
Section titled “Method details”int getId() abstract
Returns the OpenGL name of the texture.
sample
Section titled “sample”void sample(TextureSampling sampling) abstract
Sets the filter and the wrap of the texture bound to the active unit, before a draw.
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
