com.jme3.renderer
クラス GLObjectManager

java.lang.Object
  上位を拡張 com.jme3.renderer.GLObjectManager

public class GLObjectManager
extends java.lang.Object

GLObjectManager tracks all GLObjects used by the Renderer. Using a ReferenceQueue the GLObjectManager can delete unused objects from GPU when their counterparts on the CPU are no longer used. On restart, the renderer may request the objects to be reset, thus allowing the GLObjects to re-initialize with the new display context.


コンストラクタの概要
GLObjectManager()
           
 
メソッドの概要
 void deleteAllObjects(Renderer r)
          Deletes all objects.
 void deleteUnused(Renderer r)
          Deletes unused GLObjects
 void registerForCleanup(GLObject obj)
          Register a GLObject with the manager.
 void resetObjects()
          Resets all GLObjects.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

GLObjectManager

public GLObjectManager()
メソッドの詳細

registerForCleanup

public void registerForCleanup(GLObject obj)
Register a GLObject with the manager.


deleteUnused

public void deleteUnused(Renderer r)
Deletes unused GLObjects


deleteAllObjects

public void deleteAllObjects(Renderer r)
Deletes all objects. Must only be called when display is destroyed.


resetObjects

public void resetObjects()
Resets all GLObjects.