C# Class CSharpGL.ViewportState

set and reset viewport using glViewport();
Inheritance: GLState
ファイルを表示 Open project: bitzhuwei/CSharpGL Class Usage Examples

Public Methods

Method Description
ToString ( ) : string

ViewportState ( )

set and reset viewport using glViewport();

ViewportState ( int viewport )

set and reset viewport using glViewport();

ViewportState ( int x, int y, int width, int height )

set and reset viewport using glViewport();

Protected Methods

Method Description
StateOff ( ) : void

StateOn ( ) : void

Private Methods

Method Description
Init ( int x, int y, int width, int height ) : void

Method Details

StateOff() protected method

protected StateOff ( ) : void
return void

StateOn() protected method

protected StateOn ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

ViewportState() public method

set and reset viewport using glViewport();
public ViewportState ( )

ViewportState() public method

set and reset viewport using glViewport();
public ViewportState ( int viewport )
viewport int

ViewportState() public method

set and reset viewport using glViewport();
public ViewportState ( int x, int y, int width, int height )
x int
y int
width int
height int