Table of Contents

Struct PinnedArrayData<T>

Namespace
TaleWorlds.Library
Assembly
TaleWorlds.Library.dll
public struct PinnedArrayData<T>

Type Parameters

T
Inherited Members
Extension Methods

Constructors

PinnedArrayData(T[,], bool)

public PinnedArrayData(T[,] array, bool manualPinning = false)

Parameters

array T[,]
manualPinning bool

PinnedArrayData(T[], bool)

public PinnedArrayData(T[] array, bool manualPinning = false)

Parameters

array T[]
manualPinning bool

Properties

Array

public T[] Array { get; }

Property Value

T[]

Array2D

public T[,] Array2D { get; }

Property Value

T[,]

Handle

public GCHandle Handle { get; }

Property Value

GCHandle

Pinned

public bool Pinned { get; }

Property Value

bool

Pointer

public IntPtr Pointer { get; }

Property Value

IntPtr

Methods

CheckIfTypeRequiresManualPinning(Type)

public static bool CheckIfTypeRequiresManualPinning(Type type)

Parameters

type Type

Returns

bool

Dispose()

public void Dispose()

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).