Skip to content

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.

ReturnsSignatureSummary
intgetId() abstractReturns the OpenGL name of the texture.
voidsample(TextureSampling sampling) abstractSets the filter and the wrap of the texture bound to the active unit, before a draw.
Inherited from ITexture (1)

isAllocated

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.


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