#include <olcPGEX_Graphics3D.h>
|
| PipeLine () |
|
void | SetProjection (float fFovDegrees, float fAspectRatio, float fNear, float fFar, float fLeft, float fTop, float fWidth, float fHeight) |
|
void | SetCamera (olc::GFX3D::vec3d &pos, olc::GFX3D::vec3d &lookat, olc::GFX3D::vec3d &up) |
|
void | SetTransform (olc::GFX3D::mat4x4 &transform) |
|
void | SetTexture (olc::Sprite *texture) |
|
void | SetLightSource (uint32_t nSlot, uint32_t nType, olc::Pixel col, olc::GFX3D::vec3d pos, olc::GFX3D::vec3d dir={ 0.0f, 0.0f, 1.0f, 1.0f }, float fParam=0.0f) |
|
uint32_t | Render (std::vector< olc::GFX3D::triangle > &triangles, uint32_t flags=RENDER_CULL_CW|RENDER_TEXTURED|RENDER_DEPTH) |
|
uint32_t | Render (std::vector< olc::GFX3D::triangle > &triangles, uint32_t flags, int nOffset, int nCount) |
|
uint32_t | RenderLine (olc::GFX3D::vec3d &p1, olc::GFX3D::vec3d &p2, olc::Pixel col=olc::WHITE) |
|
uint32_t | RenderCircleXZ (olc::GFX3D::vec3d &p1, float r, olc::Pixel col=olc::WHITE) |
|
◆ PipeLine()
olc::GFX3D::PipeLine::PipeLine |
( |
| ) |
|
◆ Render() [1/2]
uint32_t olc::GFX3D::PipeLine::Render |
( |
std::vector< olc::GFX3D::triangle > & | triangles, |
|
|
uint32_t | flags, |
|
|
int | nOffset, |
|
|
int | nCount ) |
◆ Render() [2/2]
◆ RenderCircleXZ()
◆ RenderLine()
◆ SetCamera()
◆ SetLightSource()
◆ SetProjection()
void olc::GFX3D::PipeLine::SetProjection |
( |
float | fFovDegrees, |
|
|
float | fAspectRatio, |
|
|
float | fNear, |
|
|
float | fFar, |
|
|
float | fLeft, |
|
|
float | fTop, |
|
|
float | fWidth, |
|
|
float | fHeight ) |
◆ SetTexture()
void olc::GFX3D::PipeLine::SetTexture |
( |
olc::Sprite * | texture | ) |
|
◆ SetTransform()
The documentation for this class was generated from the following file: