Class CpuBufferPool

java.lang.Object
icyllis.arc3d.opengl.CpuBufferPool

public class CpuBufferPool extends Object
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 Details

    • CpuBufferPool

      public CpuBufferPool(int maxCount)
  • Method Details