|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.renderer.GLObject
public abstract class GLObject
Describes a GL object. An encapsulation of a certain object on the native side of the graphics library. This class is used to track when OpenGL native objects are collected by the garbage collector, and then invoke the proper destructor on the OpenGL library to delete it from memory.
入れ子のクラスの概要 | |
---|---|
static class |
GLObject.Type
The type of the GLObject, usually specified by a subclass. |
コンストラクタの概要 | |
---|---|
GLObject(GLObject.Type type)
Creates a new GLObject with the given type. |
メソッドの概要 | |
---|---|
void |
clearUpdateNeeded()
Internal use only. |
abstract GLObject |
createDestructableClone()
Creates a shallow clone of this GL Object. |
abstract void |
deleteObject(Renderer r)
Deletes the GL object from the GPU when it is no longer used. |
int |
getId()
|
boolean |
isUpdateNeeded()
Internal use only. |
abstract void |
resetObject()
Called when the GL context is restarted to reset all IDs. |
void |
setId(int id)
Sets the ID of the GLObject. |
void |
setUpdateNeeded()
Internal use only. |
java.lang.String |
toString()
|
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
コンストラクタの詳細 |
---|
public GLObject(GLObject.Type type)
type
- The type that the subclass represents.メソッドの詳細 |
---|
public void setId(int id)
id
- The ID to setpublic int getId()
public void setUpdateNeeded()
public void clearUpdateNeeded()
public boolean isUpdateNeeded()
setUpdateNeeded()
was called before.
public java.lang.String toString()
java.lang.Object
内の toString
public abstract void resetObject()
public abstract void deleteObject(Renderer r)
r
- The renderer to be used to delete the objectpublic abstract GLObject createDestructableClone()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |