C# Class RuntimeHelpers, ComputeSharp

ファイルを表示 Open project: Sergio0694/ComputeSharp Class Usage Examples

Public Methods

Method Description
AllocateTypeAssociatedMemory ( Type, type, int size ) : IntPtr,

Allocates some memory tied to the lifetime of a specific type.

Method Details

AllocateTypeAssociatedMemory() public static method

Allocates some memory tied to the lifetime of a specific type.
public static AllocateTypeAssociatedMemory ( Type, type, int size ) : IntPtr,
type Type, The type to associate the memory to.
size int The size in byte of the memory to allocate.
return IntPtr,