C# Class FBOImaging.SampleDraw

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

Public Properties

Property Type Description
CurrentMode int

Public Methods

Method Description
OnKeyboardActivity ( object sender, KeyboardActivityArgs kbde ) : IntPtr
OnSetViewport ( int w, int h ) : void

This is called when the window resizes. We make note of the new size of the window, but we're not using it to do anything interesting. We could use this information in the second pass of rendering to center the Quad on the screen, and scale it to match the size of the window

SampleDraw ( ) : System

Protected Methods

Method Description
DrawBegin ( ) : void
DrawContent ( ) : void
OnSetContext ( ) : void

Method Details

DrawBegin() protected method

protected DrawBegin ( ) : void
return void

DrawContent() protected method

protected DrawContent ( ) : void
return void

OnKeyboardActivity() public method

public OnKeyboardActivity ( object sender, KeyboardActivityArgs kbde ) : IntPtr
sender object
kbde NewTOAPIA.UI.KeyboardActivityArgs
return System.IntPtr

OnSetContext() protected method

protected OnSetContext ( ) : void
return void

OnSetViewport() public method

This is called when the window resizes. We make note of the new size of the window, but we're not using it to do anything interesting. We could use this information in the second pass of rendering to center the Quad on the screen, and scale it to match the size of the window
public OnSetViewport ( int w, int h ) : void
w int
h int
return void

SampleDraw() public method

public SampleDraw ( ) : System
return System

Property Details

CurrentMode public static property

public static int CurrentMode
return int