Class TempAllocatorImpl

All Implemented Interfaces:
ConstJoltPhysicsObject, AutoCloseable, Comparable<ConstJoltPhysicsObject>

public class TempAllocatorImpl extends TempAllocator
A last-in/first-out implementation of TempAllocator.
  • Constructor Details

    • TempAllocatorImpl

      public TempAllocatorImpl(int numBytes)
      Instantiate a LIFO allocator with the specified capacity.
      Parameters:
      numBytes - the desired capacity (in bytes)