C# 클래스 PixelFarm.DrawingGL.BasicFillShader

상속: ShaderBase
파일 보기 프로젝트 열기: prepare/HTML-Renderer 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
CheckViewMatrix ( ) : void

메소드 상세

BasicFillShader() 공개 메소드

public BasicFillShader ( CanvasToShaderSharedResource canvasShareResource ) : System
canvasShareResource CanvasToShaderSharedResource
리턴 System

DrawLine() 공개 메소드

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

DrawLineLoopWithVertexBuffer() 공개 메소드

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

FillTriangleFan() 공개 메소드

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

FillTriangleStripWithVertexBuffer() 공개 메소드

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

FillTriangles() 공개 메소드

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