GlTextureInfo


@UnstableApi
public final class GlTextureInfo


Contains information describing an OpenGL texture.

Summary

Constants

static final GlTextureInfo

A GlTextureInfo instance with all fields unset.

Public fields

final int

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

final int

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

final int

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

final int

The OpenGL texture identifier, or INDEX_UNSET if not specified.

final int

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

Public constructors

GlTextureInfo(int texId, int fboId, int rboId, int width, int height)

Creates a new instance.

Public methods

void

Releases all information associated with this instance.

Constants

UNSET

public static final GlTextureInfo UNSET

A GlTextureInfo instance with all fields unset.

Public fields

fboId

public final int fboId

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

height

public final int height

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

rboId

public final int rboId

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

texId

public final int texId

The OpenGL texture identifier, or INDEX_UNSET if not specified.

width

public final int width

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

Public constructors

GlTextureInfo

public GlTextureInfo(int texId, int fboId, int rboId, int width, int height)

Creates a new instance.

Parameters
int texId

The OpenGL texture identifier, or INDEX_UNSET if not specified.

int fboId

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

int rboId

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

int width

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

int height

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

Public methods

release

public void release()

Releases all information associated with this instance.