35 #ifndef LE_RASTERIZER_INTEGER_H
36 #define LE_RASTERIZER_INTEGER_H
65 inline void fillTriangleZC(
int vi1,
int vi2,
int vi3,
bool top);
66 inline void fillFlatTexZC(
int y,
int x1,
int x2,
int w1,
int w2,
int u1,
int u2,
int v1,
int v2);
67 inline void fillFlatTexZCFog(
int y,
int x1,
int x2,
int w1,
int w2,
int u1,
int u2,
int v1,
int v2);
68 inline void fillFlatTexAlphaZC(
int y,
int x1,
int x2,
int w1,
int w2,
int u1,
int u2,
int v1,
int v2);
69 inline void fillFlatTexAlphaZCFog(
int y,
int x1,
int x2,
int w1,
int w2,
int u1,
int u2,
int v1,
int v2);
81 #if LE_USE_SIMD == 1 && LE_USE_SSE2 == 1
83 #endif // LE_USE_SIMD && LE_USE_SSE2
85 int32_t xs[4], ys[4], ws[4];
89 #endif // LE_RASTERIZER_INTEGER_H
LightEngine 3D: Native OS graphic context.
Represent a rasterizable triangle.
Definition: trilist.h:75
LightEngine 3D: General engine configuration file.
LightEngine 3D: Triangle lists.
LightEngine 3D: Global helpers and definitions.
Rasterize triangle lists.
Definition: rasterizer_float.h:51
Contain and manage triangle lists.
Definition: trilist.h:93
LeBitmap frame
Definition: rasterizer_float.h:61
Contain and manage a RGB or RGBA 32bit bitmap image.
Definition: bitmap.h:58
#define LE_RESOX_DEFAULT
Definition: config.h:37
Represent an RGBA color.
Definition: color.h:42
#define LE_RESOY_DEFAULT
Definition: config.h:38
void flush()
Fill the frame buffer with the background color.
Definition: rasterizer_float.cpp:97
LightEngine 3D: Vertex / axis / plane / matrix objects.
void rasterList(LeTriList *trilist)
Rasterize the given triangle list.
Definition: rasterizer_float.cpp:108
LightEngine 3D: SIMD constants / types and intrinsic definitions.
LeRasterizer(int width=LE_RESOX_DEFAULT, int height=LE_RESOY_DEFAULT)
Definition: rasterizer_float.cpp:68
LeColor background
Definition: rasterizer_float.h:62
const void * getPixels()
Definition: rasterizer_integer.h:58
~LeRasterizer()
Definition: rasterizer_float.cpp:87