C# Class PixelFarm.DrawingGL.BasicFillShader

Inheritance: ShaderBase
Mostrar archivo Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
BasicFillShader ( CanvasToShaderSharedResource canvasShareResource ) : System
DrawLine ( float x1, float y1, float x2, float y2, PixelFarm color ) : void
DrawLineLoopWithVertexBuffer ( float polygon2dVertices, int nelements, Drawing color ) : void
FillTriangleFan ( float polygon2dVertices, int nelements, Drawing color ) : void
FillTriangleStripWithVertexBuffer ( float linesBuffer, int nelements, Drawing color ) : void
FillTriangles ( float polygon2dVertices, int nelements, Drawing color ) : void

Private Methods

Method Description
CheckViewMatrix ( ) : void

Method Details

BasicFillShader() public method

public BasicFillShader ( CanvasToShaderSharedResource canvasShareResource ) : System
canvasShareResource CanvasToShaderSharedResource
return System

DrawLine() public method

public DrawLine ( float x1, float y1, float x2, float y2, PixelFarm color ) : void
x1 float
y1 float
x2 float
y2 float
color PixelFarm
return void

DrawLineLoopWithVertexBuffer() public method

public DrawLineLoopWithVertexBuffer ( float polygon2dVertices, int nelements, Drawing color ) : void
polygon2dVertices float
nelements int
color Drawing
return void

FillTriangleFan() public method

public FillTriangleFan ( float polygon2dVertices, int nelements, Drawing color ) : void
polygon2dVertices float
nelements int
color Drawing
return void

FillTriangleStripWithVertexBuffer() public method

public FillTriangleStripWithVertexBuffer ( float linesBuffer, int nelements, Drawing color ) : void
linesBuffer float
nelements int
color Drawing
return void

FillTriangles() public method

public FillTriangles ( float polygon2dVertices, int nelements, Drawing color ) : void
polygon2dVertices float
nelements int
color Drawing
return void