GlTextureInfo
@UnstableApi
public final class GlTextureInfo
Contains information describing an OpenGL texture.
Summary
Constants |
|
|---|---|
static final GlTextureInfo |
A |
Public fields |
|
|---|---|
final int |
Identifier of a framebuffer object associated with the texture, or |
final int |
The height of the texture, in pixels, or |
final int |
Identifier of a renderbuffer object attached with the framebuffer, or |
final int |
The OpenGL texture identifier, or |
final int |
The width of the texture, in pixels, or |
Public constructors |
|---|
GlTextureInfo(int texId, int fboId, int rboId, int width, int height)Creates a new instance. |
Public methods |
|
|---|---|
void |
release()Releases all information associated with this instance. |
Constants
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.
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 |
int fboId |
Identifier of a framebuffer object associated with the texture, or |
int rboId |
Identifier of a renderbuffer object associated with the texture, or |
int width |
The width of the texture, in pixels, or |
int height |
The height of the texture, in pixels, or |