Skip to content

TextureResourceResolver

class TextureResourceResolver
Implements: IResourceResolver
Package: dev.joid.lib.resource.resolver.impl · Module: core · Source: TextureResourceResolver.java

The resolver that turns a texture of the render bridge, owned or borrowed, into a resource.

ReturnsSignatureSummary
TextureResourceResolver()Creates the resolver.

ReturnsSignatureSummary
booleansupports(Object input)If true, the input is an ITexture.
Resourceresolve(ResourceBuilder builder, Object input)Returns a resource that shows the texture as it is, without decoding; while the texture lives, every call shares the same data, each in its own resource.

TextureResourceResolver()

Creates the resolver.

boolean supports(Object input)

If true, the input is an ITexture.

Resource resolve(ResourceBuilder builder, Object input)

Returns a resource that shows the texture as it is, without decoding; while the texture lives, every call shares the same data, each in its own resource.


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