C# Class PixelFarm.DrawingGL.SmoothLineShader

Inheritance: ShaderBase
Show file Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
DrawLine ( float x1, float y1, float x2, float y2 ) : void
DrawTriangleStrips ( float coords, int ncount ) : void
SmoothLineShader ( CanvasToShaderSharedResource canvasShareResource ) : System

Private Methods

Method Description
CheckViewMatrix ( ) : void

Method Details

DrawLine() public method

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

DrawTriangleStrips() public method

public DrawTriangleStrips ( float coords, int ncount ) : void
coords float
ncount int
return void

SmoothLineShader() public method

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