Skip to main content
Version: 2.x

Class NativeBindings.OdinArrayf

Pinned float Buffer

Assembly: cs.temp.dll.dll
Declaration
public class NativeBindings.OdinArrayf : IDisposable

Methods

SetBuffer(float[])

Declaration
public void SetBuffer(float[] buffer)
Parameters
TypeName
System.Single[]buffer

SetBuffer(IntPtr, int)

Declaration
public void SetBuffer(IntPtr bufferPtr, int length)
Parameters
TypeName
Odin.IntPtrbufferPtr
System.Int32length

GetBuffer()

Declaration
public Span<float> GetBuffer()
Returns

Odin.Span<System.Single>

GetBuffer(int)

Declaration
public Span<float> GetBuffer(int index)
Returns

Odin.Span<System.Single>

Parameters
TypeName
System.Int32index

GetBuffer(int, int)

Declaration
public Span<float> GetBuffer(int index, int length)
Returns

Odin.Span<System.Single>

Parameters
TypeName
System.Int32index
System.Int32length

FlushBuffer()

Declaration
public void FlushBuffer()

Dispose()

Declaration
public void Dispose()