public class OpenglTextureHandle
extends java.lang.Object
Copyright 2009 Partner Software, Inc.
| Constructor and Description |
|---|
OpenglTextureHandle(OpenglControl control,
java.lang.String name,
com.sun.opengl.util.texture.Texture texture)
This method should only be called from OpenglControl since it needs to track the instances.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
OpenglControl |
getControl()
Returns the control this textureHandle is registered with.
|
java.lang.String |
getName()
Returns the unique name for the textureHandle.
|
com.sun.opengl.util.texture.Texture |
getTexture()
Returns the referenced Texture object.
|
boolean |
isOpaque() |
boolean |
isValid()
Returns true if this textureHandle is valid (has not been disposed of).
|
void |
setOpaque(boolean opaque) |
java.lang.String |
toString() |
public OpenglTextureHandle(OpenglControl control, java.lang.String name, com.sun.opengl.util.texture.Texture texture)
public void dispose()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isValid()
public OpenglControl getControl()
public java.lang.String getName()
public com.sun.opengl.util.texture.Texture getTexture()
public void setOpaque(boolean opaque)
public boolean isOpaque()