![]() |
AireEngine
A 3D Open-World Game Engine
|
Public Member Functions | |
| Skybox (Texture *texture) | |
| Texture * | getTexture () |
| void | Render (Window *window, Aire::Camera &camera) |
| ~Skybox () | |
| Destructor. | |
| Skybox::Skybox | ( | Texture * | texture | ) |
Creates skybox
| texture | Cubemap texture |

|
inline |
Returns the cubemap texture assigned to the skybox

| void Skybox::Render | ( | Window * | window, |
| Aire::Camera & | camera ) |
Renders the skybox
| window | window object associated with the OpenGL context |
| camera | Player camera reference |

