GlTextureInfo


@UnstableApi
class GlTextureInfo


Contains information describing an OpenGL texture.

Summary

Constants

const GlTextureInfo!

A GlTextureInfo instance with all fields unset.

Public constructors

GlTextureInfo(texId: Int, fboId: Int, rboId: Int, width: Int, height: Int)

Creates a new instance.

Public functions

Unit

Releases all information associated with this instance.

Public properties

Int

Identifier of a framebuffer object associated with the texture, or INDEX_UNSET if not specified.

Int

The height of the texture, in pixels, or LENGTH_UNSET if not specified.

Int

Identifier of a renderbuffer object attached with the framebuffer, or INDEX_UNSET if not specified.

Int

The OpenGL texture identifier, or INDEX_UNSET if not specified.

Int

The width of the texture, in pixels, or LENGTH_UNSET if not specified.

Constants

UNSET

const val UNSETGlTextureInfo!

A GlTextureInfo instance with all fields unset.

Public constructors

GlTextureInfo

GlTextureInfo(texId: Int, fboId: Int, rboId: Int, width: Int, height: Int)

Creates a new instance.

Parameters
texId: Int

The OpenGL texture identifier, or INDEX_UNSET if not specified.

fboId: Int

Identifier of a framebuffer object associated with the texture, or INDEX_UNSET if not specified.

rboId: Int

Identifier of a renderbuffer object associated with the texture, or INDEX_UNSET if not specified.

width: Int

The width of the texture, in pixels, or LENGTH_UNSET if not specified.

height: Int

The height of the texture, in pixels, or LENGTH_UNSET if not specified.

Public functions

release

fun release(): Unit

Releases all information associated with this instance.

Public properties

fboId

val fboIdInt

Identifier of a framebuffer object associated with the texture, or INDEX_UNSET if not specified.

height

val heightInt

The height of the texture, in pixels, or LENGTH_UNSET if not specified.

rboId

val rboIdInt

Identifier of a renderbuffer object attached with the framebuffer, or INDEX_UNSET if not specified.

texId

val texIdInt

The OpenGL texture identifier, or INDEX_UNSET if not specified.

width

val widthInt

The width of the texture, in pixels, or LENGTH_UNSET if not specified.