GeometryBufferArena constructor

GeometryBufferArena({
  1. int blockSizeInBytes = 16 * 1024 * 1024,
})

Creates an arena with the given minimum block size.

Implementation

GeometryBufferArena({this.blockSizeInBytes = 16 * 1024 * 1024}) {
  if (blockSizeInBytes <= 0) {
    throw ArgumentError.value(
      blockSizeInBytes,
      'blockSizeInBytes',
      'must be positive',
    );
  }
}