|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.gui.opengl.OpenglTextureHandle
public class OpenglTextureHandle
Indirection wrapper for Texture objects registered with an OpenglControl. Deals with reloading and other issues.
Copyright 2009 Partner Software, Inc.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OpenglTextureHandle(OpenglControl control,
java.lang.String name,
com.sun.opengl.util.texture.Texture texture)
| Method Detail |
|---|
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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||