Class TempAllocatorImplWithMallocFallback

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

public class TempAllocatorImplWithMallocFallback extends TempAllocator
A flexible implementation of TempAllocator.
  • Constructor Details

    • TempAllocatorImplWithMallocFallback

      public TempAllocatorImplWithMallocFallback(int numBytes)
      Instantiate an allocator with the specified initial capacity.
      Parameters:
      numBytes - the desired initial capacity (in bytes)