Skip to content

TextureFilter

enum TextureFilter
Package: dev.joid.lib.bridge.render.texture · Module: core · Source: TextureFilter.java

How a texture is sampled between its texels.

ValueSummary
NEARESTThe nearest texel, for pixel art and textures drawn at their size; it reads the first mipmap level only.
LINEARA blend of the four nearest texels, and of two mipmap levels for a mipmapped texture.

NEAREST

The nearest texel, for pixel art and textures drawn at their size; it reads the first mipmap level only.

LINEAR

A blend of the four nearest texels, and of two mipmap levels for a mipmapped texture.


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