C# Class Lennox.NvEncSharp.CuDeviceMemory

Afficher le fichier Open project: jlennox/NvEncSharp

Méthodes publiques

Свойство Type Description
Empty CuDeviceMemory
Handle IntPtr

Méthodes publiques

Méthode Description
Allocate ( IntPtr bytesize ) : CuDeviceMemory
Allocate ( int bytesize ) : CuDeviceMemory
AllocatePitch ( IntPtr &pitch, IntPtr widthInBytes, IntPtr height, uint elementSizeBytes ) : CuDeviceMemory
CopyToHost ( int size ) : byte[]
CopyToHost ( byte* hostDestination, int size ) : void
Dispose ( ) : void

Private Methods

Méthode Description
CuDeviceMemory ( CuDevicePtr devicePtr ) : System

Method Details

Allocate() public static méthode

public static Allocate ( IntPtr bytesize ) : CuDeviceMemory
bytesize IntPtr
Résultat CuDeviceMemory

Allocate() public static méthode

public static Allocate ( int bytesize ) : CuDeviceMemory
bytesize int
Résultat CuDeviceMemory

AllocatePitch() public static méthode

public static AllocatePitch ( IntPtr &pitch, IntPtr widthInBytes, IntPtr height, uint elementSizeBytes ) : CuDeviceMemory
pitch IntPtr
widthInBytes IntPtr
height IntPtr
elementSizeBytes uint
Résultat CuDeviceMemory

CopyToHost() public méthode

public CopyToHost ( int size ) : byte[]
size int
Résultat byte[]

CopyToHost() public méthode

public CopyToHost ( byte* hostDestination, int size ) : void
hostDestination byte*
size int
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Property Details

Empty public_oe static_oe property

public static CuDeviceMemory,Lennox.NvEncSharp Empty
Résultat CuDeviceMemory

Handle public_oe property

public IntPtr Handle
Résultat IntPtr