Package icyllis.arc3d.opengl
Class CpuBufferPool
java.lang.Object
icyllis.arc3d.opengl.CpuBufferPool
A cache object that can be shared by multiple
GpuBufferPool
instances. It caches
cpu buffer allocations to avoid reallocating them.
NOTE: You must call releaseAll()
when this cache is no longer used.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
CpuBufferPool
public CpuBufferPool(int maxCount)
-
-
Method Details
-
makeBuffer
-
releaseAll
public void releaseAll()
-