C# Class PixelFarm.DrawingGL.BasicFillShader

Inheritance: ShaderBase
Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
CheckViewMatrix ( ) : void

Method Details

BasicFillShader() public méthode

public BasicFillShader ( CanvasToShaderSharedResource canvasShareResource ) : System
canvasShareResource CanvasToShaderSharedResource
Résultat System

DrawLine() public méthode

public DrawLine ( float x1, float y1, float x2, float y2, PixelFarm color ) : void
x1 float
y1 float
x2 float
y2 float
color PixelFarm
Résultat void

DrawLineLoopWithVertexBuffer() public méthode

public DrawLineLoopWithVertexBuffer ( float polygon2dVertices, int nelements, Drawing color ) : void
polygon2dVertices float
nelements int
color Drawing
Résultat void

FillTriangleFan() public méthode

public FillTriangleFan ( float polygon2dVertices, int nelements, Drawing color ) : void
polygon2dVertices float
nelements int
color Drawing
Résultat void

FillTriangleStripWithVertexBuffer() public méthode

public FillTriangleStripWithVertexBuffer ( float linesBuffer, int nelements, Drawing color ) : void
linesBuffer float
nelements int
color Drawing
Résultat void

FillTriangles() public méthode

public FillTriangles ( float polygon2dVertices, int nelements, Drawing color ) : void
polygon2dVertices float
nelements int
color Drawing
Résultat void