TextureFilter
enum TextureFilter
Package: dev.joid.lib.bridge.render.texture · Module: core · Source: TextureFilter.java
How a texture is sampled between its texels.
Learn more
Section titled “Learn more”Values
Section titled “Values”| Value | Summary |
|---|---|
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. |
Value details
Section titled “Value details”NEAREST
Section titled “NEAREST”NEAREST
The nearest texel, for pixel art and textures drawn at their size; it reads the first mipmap level only.
LINEAR
Section titled “LINEAR”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
