C# Class FBOImaging.SampleDraw

Inheritance: NewTOAPIA.GL.GLModel
Afficher le fichier Open project: Wiladams/NewTOAPIA Class Usage Examples

Méthodes publiques

Свойство Type Description
CurrentMode int

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
DrawBegin ( ) : void
DrawContent ( ) : void
OnSetContext ( ) : void

Method Details

DrawBegin() protected méthode

protected DrawBegin ( ) : void
Résultat void

DrawContent() protected méthode

protected DrawContent ( ) : void
Résultat void

OnKeyboardActivity() public méthode

public OnKeyboardActivity ( object sender, KeyboardActivityArgs kbde ) : IntPtr
sender object
kbde NewTOAPIA.UI.KeyboardActivityArgs
Résultat System.IntPtr

OnSetContext() protected méthode

protected OnSetContext ( ) : void
Résultat void

OnSetViewport() public méthode

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
Résultat void

SampleDraw() public méthode

public SampleDraw ( ) : System
Résultat System

Property Details

CurrentMode public_oe static_oe property

public static int CurrentMode
Résultat int