Class BarracudaArrayFromManagedArray
A BarracudaArrayFromManagedArray exposes a buffer of managed memory as if it was native memory (by pinning it).
Inheritance
BarracudaArrayFromManagedArray
Assembly: Unity.Barracuda.dll
Syntax
public class BarracudaArrayFromManagedArray : BarracudaArray, IDisposable
Constructors
BarracudaArrayFromManagedArray(byte[], int, DataType, int)
Declaration
public BarracudaArrayFromManagedArray(byte[] srcData, int srcOffset, DataType destType, int numDestElement)
Parameters
BarracudaArrayFromManagedArray(float[], int)
Declaration
public BarracudaArrayFromManagedArray(float[] srcData, int srcOffset = 0)
Parameters
| Type |
Name |
Description |
| float[] |
srcData |
|
| int |
srcOffset |
|
Properties
RawPtr
Declaration
public override void* RawPtr { get; }
Property Value
Overrides
Implements