C# Class CSharpGL.Pixel

Exibir arquivo Open project: bitzhuwei/CSharpGL

Public Methods

Method Description
IsWhite ( ) : bool

Pixel ( byte r, byte g, byte b, byte a ) : System.Drawing

ToColor ( ) : Color

ToStageVertexId ( ) : uint

Gets stageVertexID from coded color. The stageVertexID is the last vertex that constructs the primitive. see http://www.cnblogs.com/bitzhuwei/p/modern-opengl-picking-primitive-in-VBO-2.html

ToString ( ) : string

Method Details

IsWhite() public method

public IsWhite ( ) : bool
return bool

Pixel() public method

public Pixel ( byte r, byte g, byte b, byte a ) : System.Drawing
r byte
g byte
b byte
a byte
return System.Drawing

ToColor() public method

public ToColor ( ) : Color
return System.Drawing.Color

ToStageVertexId() public method

Gets stageVertexID from coded color. The stageVertexID is the last vertex that constructs the primitive. see http://www.cnblogs.com/bitzhuwei/p/modern-opengl-picking-primitive-in-VBO-2.html
public ToStageVertexId ( ) : uint
return uint

ToString() public method

public ToString ( ) : string
return string