C# 클래스 Lennox.NvEncSharp.CuDeviceMemory

파일 보기 프로젝트 열기: jlennox/NvEncSharp

공개 프로퍼티들

프로퍼티 타입 설명
Empty CuDeviceMemory
Handle IntPtr

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
CuDeviceMemory ( CuDevicePtr devicePtr ) : System

메소드 상세

Allocate() 공개 정적인 메소드

public static Allocate ( IntPtr bytesize ) : CuDeviceMemory
bytesize IntPtr
리턴 CuDeviceMemory

Allocate() 공개 정적인 메소드

public static Allocate ( int bytesize ) : CuDeviceMemory
bytesize int
리턴 CuDeviceMemory

AllocatePitch() 공개 정적인 메소드

public static AllocatePitch ( IntPtr &pitch, IntPtr widthInBytes, IntPtr height, uint elementSizeBytes ) : CuDeviceMemory
pitch IntPtr
widthInBytes IntPtr
height IntPtr
elementSizeBytes uint
리턴 CuDeviceMemory

CopyToHost() 공개 메소드

public CopyToHost ( int size ) : byte[]
size int
리턴 byte[]

CopyToHost() 공개 메소드

public CopyToHost ( byte* hostDestination, int size ) : void
hostDestination byte*
size int
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

프로퍼티 상세

Empty 공개적으로 정적으로 프로퍼티

public static CuDeviceMemory,Lennox.NvEncSharp Empty
리턴 CuDeviceMemory

Handle 공개적으로 프로퍼티

public IntPtr Handle
리턴 IntPtr