TextureWrap
enum TextureWrap
Package: dev.joid.lib.bridge.render.texture · Module: core · Source: TextureWrap.java
How a texture is sampled outside its edges.
Learn more
Section titled “Learn more”Values
Section titled “Values”| Value | Summary |
|---|---|
REPEAT | The texture repeats. |
CLAMP_TO_EDGE | The texels of the edge stretch outward. |
CLAMP_TO_BORDER | Transparent black outside the edges; emulated in the shaders on an API that lacks it. |
Value details
Section titled “Value details”REPEAT
Section titled “REPEAT”REPEAT
The texture repeats.
CLAMP_TO_EDGE
Section titled “CLAMP_TO_EDGE”CLAMP_TO_EDGE
The texels of the edge stretch outward.
CLAMP_TO_BORDER
Section titled “CLAMP_TO_BORDER”CLAMP_TO_BORDER
Transparent black outside the edges; emulated in the shaders on an API that lacks it.
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
