DHART
|
A wrapper for a two dimensional array in unmanaged memory. More...
Properties | |
unsafe override Span< T > | array [get] |
Get a view of the entire array as a flattened one dimensional array. More... | |
unsafe Span< T > | this[int i] [get] |
Get a view to a to a row of this array. More... | |
Properties inherited from DHARTAPI.NativeUtils.NativeArray< T > | |
virtual unsafe Span< T > | array [get] |
Read only access to this unmanaged array as a span. More... | |
unsafe T | this[int key] [get] |
Get the element at location i. More... | |
virtual int | size [get] |
The number of elements in the array. | |
Properties inherited from DHARTAPI.NativeUtils.NativeObject | |
override bool | IsInvalid [get] |
There is no way to invalidate this class without destroying it, so will always return false. | |
Additional Inherited Members | |
Public Member Functions inherited from DHARTAPI.NativeUtils.NativeArray< T > | |
unsafe override string | ToString () |
Get a string representation of this array. More... | |
virtual T[] | CopyArray () |
Copy the unmanaged array pointed to by this object into a managed array. More... | |
bool | Equals (NativeArray< T > arr2) |
Check equality of this array and another. More... | |
Public Member Functions inherited from DHARTAPI.NativeUtils.NativeObject | |
void | UpdatePressure (int new_pressure) |
Update the pressure of this object. | |
Public Attributes inherited from DHARTAPI.NativeUtils.NativeObject | |
int | pressure |
the size of the object pointed to in unmanaged memory in bytes. Used to exert pressure on the GC. More... | |
A wrapper for a two dimensional array in unmanaged memory.
T | The type of object pointed to in unmanaged memory. |
T | : | unmanaged |
|
get |
Get a view of the entire array as a flattened one dimensional array.
|
get |
Get a view to a to a row of this array.
i | The row to reference. |
i
to the end of row i