Table of Contents

Namespace Jitter2.Unmanaged

Classes

MemoryHelper

Provides helper methods for allocating and managing unmanaged memory.

PartitionedBuffer<T>

Stores unmanaged structs in a resizable buffer with active and inactive partitions.

PartitionedBuffer<T>.MaximumSizeException

Thrown when the buffer reaches its maximum element capacity.

Structs

JHandle<T>

Handle for an unmanaged object stored in a PartitionedBuffer<T>. The handle remains stable even when the underlying memory is resized.

MemoryHelper.IsolatedInt

An integer padded on both sides so updates do not contend with adjacent data on a 64-byte cache line.

MemoryHelper.MemBlock12Real

A memory block with a size equivalent to twelve instances of the float type.

MemoryHelper.MemBlock16Real

A memory block with a size equivalent to sixteen instances of the float type.

MemoryHelper.MemBlock6Real

A memory block with a size equivalent to six instances of the float type.

MemoryHelper.MemBlock9Real

A memory block with a size equivalent to nine instances of the float type.

MemoryHelper.PaddedInt

An integer padded so adjacent array elements do not share a 64-byte cache line.