Class CpuBufferPool

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

@Deprecated public class CpuBufferPool extends Object
Deprecated.
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)
      Deprecated.
  • Method Details

    • makeBuffer

      @SharedPtr public @Nullable @SharedPtr CpuBuffer makeBuffer(long size)
      Deprecated.
    • releaseAll

      public void releaseAll()
      Deprecated.