#include <olcPGEX_Graphics3D.h>
|
static void | ConfigureDisplay () |
|
static void | ClearDepth () |
|
static void | AddTriangleToScene (olc::GFX3D::triangle &tri) |
|
static void | RenderScene () |
|
static void | DrawTriangleFlat (olc::GFX3D::triangle &tri) |
|
static void | DrawTriangleWire (olc::GFX3D::triangle &tri, olc::Pixel col=olc::WHITE) |
|
static void | DrawTriangleTex (olc::GFX3D::triangle &tri, olc::Sprite *spr) |
|
static void | TexturedTriangle (int x1, int y1, float u1, float v1, float w1, int x2, int y2, float u2, float v2, float w2, int x3, int y3, float u3, float v3, float w3, olc::Sprite *spr) |
|
static void | RasterTriangle (int x1, int y1, float u1, float v1, float w1, olc::Pixel c1, int x2, int y2, float u2, float v2, float w2, olc::Pixel c2, int x3, int y3, float u3, float v3, float w3, olc::Pixel c3, olc::Sprite *spr, uint32_t nFlags) |
|
◆ LIGHTS
Enumerator |
---|
LIGHT_DISABLED | |
LIGHT_AMBIENT | |
LIGHT_DIRECTIONAL | |
LIGHT_POINT | |
◆ RENDERFLAGS
Enumerator |
---|
RENDER_WIRE | |
RENDER_FLAT | |
RENDER_TEXTURED | |
RENDER_CULL_CW | |
RENDER_CULL_CCW | |
RENDER_DEPTH | |
RENDER_LIGHTS | |
◆ AddTriangleToScene()
◆ ClearDepth()
static void olc::GFX3D::ClearDepth |
( |
| ) |
|
|
static |
◆ ConfigureDisplay()
static void olc::GFX3D::ConfigureDisplay |
( |
| ) |
|
|
static |
◆ DrawTriangleFlat()
◆ DrawTriangleTex()
◆ DrawTriangleWire()
◆ RasterTriangle()
static void olc::GFX3D::RasterTriangle |
( |
int | x1, |
|
|
int | y1, |
|
|
float | u1, |
|
|
float | v1, |
|
|
float | w1, |
|
|
olc::Pixel | c1, |
|
|
int | x2, |
|
|
int | y2, |
|
|
float | u2, |
|
|
float | v2, |
|
|
float | w2, |
|
|
olc::Pixel | c2, |
|
|
int | x3, |
|
|
int | y3, |
|
|
float | u3, |
|
|
float | v3, |
|
|
float | w3, |
|
|
olc::Pixel | c3, |
|
|
olc::Sprite * | spr, |
|
|
uint32_t | nFlags ) |
|
static |
◆ RenderScene()
static void olc::GFX3D::RenderScene |
( |
| ) |
|
|
static |
◆ TexturedTriangle()
static void olc::GFX3D::TexturedTriangle |
( |
int | x1, |
|
|
int | y1, |
|
|
float | u1, |
|
|
float | v1, |
|
|
float | w1, |
|
|
int | x2, |
|
|
int | y2, |
|
|
float | u2, |
|
|
float | v2, |
|
|
float | w2, |
|
|
int | x3, |
|
|
int | y3, |
|
|
float | u3, |
|
|
float | v3, |
|
|
float | w3, |
|
|
olc::Sprite * | spr ) |
|
static |
The documentation for this class was generated from the following file: