le3d - LightEngine 3D
A straightforward C++ 3D software engine for real-time graphics
|
Rasterize triangle lists. More...
#include <rasterizer_float.h>
Public Member Functions | |
LeRasterizer (int width=LE_RESOX_DEFAULT, int height=LE_RESOY_DEFAULT) | |
~LeRasterizer () | |
void | rasterList (LeTriList *trilist) |
Rasterize the given triangle list. More... | |
const void * | getPixels () |
void | flush () |
Fill the frame buffer with the background color. More... | |
LeRasterizer (int width=LE_RESOX_DEFAULT, int height=LE_RESOY_DEFAULT) | |
~LeRasterizer () | |
void | rasterList (LeTriList *trilist) |
const void * | getPixels () |
void | flush () |
Public Attributes | |
LeBitmap | frame |
LeColor | background |
Rasterize triangle lists.
LeRasterizer::LeRasterizer | ( | int | width = LE_RESOX_DEFAULT , |
int | height = LE_RESOY_DEFAULT |
||
) |
Platform specific or reference fillers
LeRasterizer::~LeRasterizer | ( | ) |
LeRasterizer::LeRasterizer | ( | int | width = LE_RESOX_DEFAULT , |
int | height = LE_RESOY_DEFAULT |
||
) |
LeRasterizer::~LeRasterizer | ( | ) |
void LeRasterizer::flush | ( | ) |
Fill the frame buffer with the background color.
void LeRasterizer::flush | ( | ) |
|
inline |
|
inline |
void LeRasterizer::rasterList | ( | LeTriList * | trilist | ) |
void LeRasterizer::rasterList | ( | LeTriList * | trilist | ) |
Rasterize the given triangle list.
[in] | trilist | pointer to a triangle list |
LeColor LeRasterizer::background |
background color
LeBitmap LeRasterizer::frame |
frame buffer