DynamicTextureReference

@ApiStatus.NonExtendable()
public abstract class DynamicTextureReference implements Closeable(source)

A dynamically loaded texture. Must be destroyed manually.

Constructors

Properties

Link copied to clipboard

An opaque reference to this dynamic texture. Can be used with RenderContext.bindTexture.

Functions

Link copied to clipboard
public Unit close()
Link copied to clipboard
public final Unit destroy()

Destroy this texture. Using identifier after calling this will cause issues.

Link copied to clipboard

An opaque reference to this dynamic texture. Can be used with RenderContext.bindTexture.

Link copied to clipboard
public abstract Unit update(BufferedImage bufferedImage)