Skip to content

TextureWrap

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

How a texture is sampled outside its edges.

ValueSummary
REPEATThe texture repeats.
CLAMP_TO_EDGEThe texels of the edge stretch outward.
CLAMP_TO_BORDERTransparent black outside the edges; emulated in the shaders on an API that lacks it.

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.


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