Extension methods used on image planes. More...
Static Public Member Functions | |
static IEnumerable< T > | DereferenceAs< T > (this IEnumerable< IntPtr > source) |
Dereferences the given source range as a T . More... | |
Extension methods used on image planes.
|
static |
Dereferences the given source range as a T
.
Dereferencing a pointer means getting the value at the location pointed to.
Attention:
if the type T
does not match the actual type at the pointer, the result is undefined. Also do not use structs containing reference types.
T | Type to use for dereferencing. |
source | Pointer range to dereference. |
T | : | struct |