C# Class Examples.Tutorial.SimpleFBO

Inheritance: OpenTK.GameWindow
显示文件 Open project: tpb3d/TPB3D Class Usage Examples

Public Methods

Method Description
GetRandom ( ) : float

Returns a random Float in the range [-0.5*scale..+0.5*scale]

GetRandom0to1 ( ) : float

Returns a random Float in the range [0..1]

SimpleFBO ( ) : System

Protected Methods

Method Description
OnLoad ( EventArgs e ) : void
OnRenderFrame ( FrameEventArgs e ) : void
OnResize ( EventArgs e ) : void
OnUnload ( EventArgs e ) : void
OnUpdateFrame ( FrameEventArgs e ) : void

Private Methods

Method Description
Main ( ) : void

Method Details

GetRandom() public method

Returns a random Float in the range [-0.5*scale..+0.5*scale]
public GetRandom ( ) : float
return float

GetRandom0to1() public method

Returns a random Float in the range [0..1]
public GetRandom0to1 ( ) : float
return float

OnLoad() protected method

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
return void

OnRenderFrame() protected method

protected OnRenderFrame ( FrameEventArgs e ) : void
e FrameEventArgs
return void

OnResize() protected method

protected OnResize ( EventArgs e ) : void
e System.EventArgs
return void

OnUnload() protected method

protected OnUnload ( EventArgs e ) : void
e System.EventArgs
return void

OnUpdateFrame() protected method

protected OnUpdateFrame ( FrameEventArgs e ) : void
e FrameEventArgs
return void

SimpleFBO() public method

public SimpleFBO ( ) : System
return System