DynamicTextureReference

@ApiStatus.NonExtendable
abstract class DynamicTextureReference : Closeable(source)

A dynamically loaded texture. Must be destroyed manually.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

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

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
fun destroy()

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

Link copied to clipboard
abstract fun update(bufferedImage: BufferedImage)