C# Class NewTOAPIA.Media.VideoTexture

Inheritance: NewTOAPIA.GL.GLTexture
显示文件 Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
Bind ( ) : void
CreateFromDeviceIndex ( GraphicsInterface gi, int deviceIndex ) : VideoTexture
CreateFromDeviceIndex ( GraphicsInterface gi, int deviceIndex, int width, int height ) : VideoTexture
CreateFromDevicePath ( GraphicsInterface gi, string devicePath ) : VideoTexture
Start ( ) : void
Stop ( ) : void
Unbind ( ) : void
VideoTexture ( GraphicsInterface gi, VideoCaptureDevice vidSource ) : System

Private Methods

Method Description
ReceivedNewFrame ( object sender, CameraEventArgs e ) : void
SetupCaptureDevice ( GraphicsInterface gi ) : void

Method Details

Bind() public method

public Bind ( ) : void
return void

CreateFromDeviceIndex() public static method

public static CreateFromDeviceIndex ( GraphicsInterface gi, int deviceIndex ) : VideoTexture
gi NewTOAPIA.GL.GraphicsInterface
deviceIndex int
return VideoTexture

CreateFromDeviceIndex() public static method

public static CreateFromDeviceIndex ( GraphicsInterface gi, int deviceIndex, int width, int height ) : VideoTexture
gi NewTOAPIA.GL.GraphicsInterface
deviceIndex int
width int
height int
return VideoTexture

CreateFromDevicePath() public static method

public static CreateFromDevicePath ( GraphicsInterface gi, string devicePath ) : VideoTexture
gi NewTOAPIA.GL.GraphicsInterface
devicePath string
return VideoTexture

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

Unbind() public method

public Unbind ( ) : void
return void

VideoTexture() public method

public VideoTexture ( GraphicsInterface gi, VideoCaptureDevice vidSource ) : System
gi NewTOAPIA.GL.GraphicsInterface
vidSource NewTOAPIA.DirectShow.VideoCaptureDevice
return System