C# Class NewTOAPIA.Media.GL.VideoTexture

Inheritance: NewTOAPIA.GL.GLTexture2D
Show file Open project: Wiladams/NewTOAPIA Class Usage Examples

Public Methods

Method Description
Bind ( ) : void
CreateFromDeviceIndex ( GraphicsInterface gi, int deviceIndex, bool autoStart ) : VideoTexture
CreateFromDevicePath ( GraphicsInterface gi, string devicePath, int width, int height, bool autoStart ) : VideoTexture
Dispose ( ) : void
Start ( ) : void
Stop ( ) : void
Unbind ( ) : void
VideoTexture ( GraphicsInterface gi, VideoCaptureDevice vidSource, bool autoStart ) : 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, bool autoStart ) : VideoTexture
gi NewTOAPIA.GL.GraphicsInterface
deviceIndex int
autoStart bool
return VideoTexture

CreateFromDevicePath() public static method

public static CreateFromDevicePath ( GraphicsInterface gi, string devicePath, int width, int height, bool autoStart ) : VideoTexture
gi NewTOAPIA.GL.GraphicsInterface
devicePath string
width int
height int
autoStart bool
return VideoTexture

Dispose() public method

public Dispose ( ) : void
return void

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, bool autoStart ) : System
gi NewTOAPIA.GL.GraphicsInterface
vidSource NewTOAPIA.Media.Capture.VideoCaptureDevice
autoStart bool
return System