de.grogra.ray.memory
Class MemoryPool

java.lang.Object
  extended by de.grogra.ray.memory.MemoryPool

public class MemoryPool
extends java.lang.Object


Method Summary
 void freeColor3f(Color3f obj)
           
 void freeColor4f(Color4f obj)
           
 void freeRay(Ray obj)
           
 void freeVector3f(Vector3f obj)
           
static MemoryPool getPool()
           
 Color3f newColor3f()
           
 Color4f newColor4f()
           
 Ray newRay()
           
 Vector3f newVector3f()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

freeColor3f

public void freeColor3f(Color3f obj)

freeColor4f

public void freeColor4f(Color4f obj)

freeRay

public void freeRay(Ray obj)

freeVector3f

public void freeVector3f(Vector3f obj)

getPool

public static MemoryPool getPool()

newColor3f

public Color3f newColor3f()

newColor4f

public Color4f newColor4f()

newRay

public Ray newRay()

newVector3f

public Vector3f newVector3f()