Class UnmanagedMemory<T>
Inheritance
System.Object
UnmanagedMemory<T>
Assembly: GCore.dll
Syntax
public class UnmanagedMemory<T> : UnmanagedMemory where T : struct
Type Parameters
Constructors
|
Improve this Doc
View Source
UnmanagedMemory()
Declaration
protected UnmanagedMemory()
|
Improve this Doc
View Source
UnmanagedMemory(IntPtr, Int32)
Declaration
public UnmanagedMemory(IntPtr ptr, int count = 1)
Parameters
Type |
Name |
Description |
IntPtr |
ptr |
|
System.Int32 |
count |
|
|
Improve this Doc
View Source
UnmanagedMemory(Int32)
Declaration
public UnmanagedMemory(int count = 1)
Parameters
Type |
Name |
Description |
System.Int32 |
count |
|
Properties
|
Improve this Doc
View Source
Count
Declaration
public int Count { get; protected set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
PtrElem
Declaration
public T*PtrElem { get; }
Property Value
|
Improve this Doc
View Source
Stride
Declaration
public int Stride { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
GetElement(Int32)
Declaration
public T*GetElement(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
|
Improve this Doc
View Source
ToArray()
Declaration
Returns
Extension Methods