Texture

interface Texture : GlimpseDisposable

A texture.

Types

Link copied to clipboard
interface Builder

An interface for a texture builder.

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun dispose(gl: GlimpseAdapter)

Disposes this object and its resources using given OpenGL adapter.

Link copied to clipboard
abstract fun useAtIndex(gl: GlimpseAdapter, textureIndex: Int)

Uses this texture at a given textureIndex.

Properties

Link copied to clipboard
abstract val handle: Int

Texture handle.

Link copied to clipboard
abstract val height: Int

Height of this texture.

Link copied to clipboard
abstract val isDisposed: Boolean

true if this object has been disposed.

Link copied to clipboard
abstract val width: Int

Width of this texture.