C# Class SnapNGLView.DynamicTexture

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

Public Methods

Method Description
Bind ( ) : void
DynamicTexture ( GraphicsInterface gi, int width, int height, int bytesPerPixel ) : System
Unbind ( ) : void
UpdateImage ( PixelAccessorBGRb accessor ) : void

Private Methods

Method Description
Resize ( int width, int height, IntPtr pixels, int bytesPerPixel ) : void

Method Details

Bind() public method

public Bind ( ) : void
return void

DynamicTexture() public method

public DynamicTexture ( GraphicsInterface gi, int width, int height, int bytesPerPixel ) : System
gi NewTOAPIA.GL.GraphicsInterface
width int
height int
bytesPerPixel int
return System

Unbind() public method

public Unbind ( ) : void
return void

UpdateImage() public method

public UpdateImage ( PixelAccessorBGRb accessor ) : void
accessor PixelAccessorBGRb
return void