NativeRingBuffer
NameSpace: MagicLeap
Inherits from:
IDisposable
Public Methods
BlockingReader AsBlockingReader
public BlockingReader AsBlockingReader()
BlockingWriter AsBlockingWriter
public BlockingWriter AsBlockingWriter()
NonblockingReader AsNonblockingReader
public NonblockingReader AsNonblockingReader()
NonblockingWriter AsNonblockingWriter
public NonblockingWriter AsNonblockingWriter()
void Dispose
public void Dispose()
JobHandle Dispose
public JobHandle Dispose(
JobHandle depends
)
Parameters
Type | Name | Description |
---|---|---|
JobHandle | depends |
NativeRingBuffer
public NativeRingBuffer(
long size,
Allocator allocator
)
Parameters
Type | Name | Description |
---|---|---|
long | size | |
Allocator | allocator |
Public Attributes
IsCreated
public bool IsCreated => m_RingBuffer.IsCreated;