Method | Description | |
---|---|---|
Clear ( ) : void | ||
DrawLine ( Vector3 point0, Vector3 point1, int color ) : void |
Draw a line from point0 to point1 in the framebuffer http://en.wikipedia.org/wiki/Bresenham's_line_algorithm |
|
DrawLine ( int x0, int y0, int x1, int y1, int color ) : void |
Draw a line from point x0,y0 to x1,y1 in the framebuffer
|
|
DrawModel ( |
Draw a mesh model after it has been processed (transformed and projected)
|
|
DrawPixel ( Vector3 point, int color ) : void |
Draws a pixel to the framebuffer
|
|
DrawPixel ( int x, int y, int color ) : void |
Draws a pixel to the framebuffer
|
|
DrawTriangle ( |
Draw a (filled) triangle to the framebuffer http://www-users.mat.uni.torun.pl/~wrona/3d_tutor/tri_fillers.html |
|
FrameBuffer ( |
Method | Description | |
---|---|---|
DrawTriangleScanline ( double x0, double x1, double y, int linecolor, int fillcolor ) : void |
Draw one horizontal scanline of a triangle
|
public DrawLine ( Vector3 point0, Vector3 point1, int color ) : void | ||
point0 | Vector3 | |
point1 | Vector3 | |
color | int | |
return | void |
public DrawLine ( int x0, int y0, int x1, int y1, int color ) : void | ||
x0 | int | |
y0 | int | |
x1 | int | |
y1 | int | |
color | int | argb value for color |
return | void |
public DrawPixel ( Vector3 point, int color ) : void | ||
point | Vector3 | |
color | int | |
return | void |
public DrawPixel ( int x, int y, int color ) : void | ||
x | int | |
y | int | |
color | int | argb value for color |
return | void |
public DrawTriangle ( |
||
model | ||
triangle | ||
return | void |
public FrameBuffer ( |
||
size | ||
return | System |