Skip to main content
Version: 12 Dec 2024

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

TypeNameDescription
JobHandledepends

NativeRingBuffer

public NativeRingBuffer(
long size,
Allocator allocator
)

Parameters

TypeNameDescription
longsize
Allocatorallocator

Public Attributes

IsCreated


public bool IsCreated => m_RingBuffer.IsCreated;