C# Class CSharpGL.EnableState

GL.Enable(cap); or GL.Disable(cap);
Inheritance: GLState
Mostrar archivo Open project: bitzhuwei/CSharpGL

Protected Properties

Property Type Description
enableCapacityWhenStateOn bool

Public Methods

Method Description
EnableState ( uint capacity )

GL.Enable(capacity);

EnableState ( uint capacity, bool enableCapacity )

GL.Enable(capacity); or GL.Disable(capacity);

ToString ( ) : string

Protected Methods

Method Description
StateOff ( ) : void

StateOn ( ) : void

Private Methods

Method Description
Init ( uint capacity, bool enableCapacity ) : void

Method Details

EnableState() public method

GL.Enable(capacity);
public EnableState ( uint capacity )
capacity uint

EnableState() public method

GL.Enable(capacity); or GL.Disable(capacity);
public EnableState ( uint capacity, bool enableCapacity )
capacity uint
enableCapacity bool Enable() or Disable() this capacity?

StateOff() protected method

protected StateOff ( ) : void
return void

StateOn() protected method

protected StateOn ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

enableCapacityWhenStateOn protected_oe property

protected bool enableCapacityWhenStateOn
return bool