AireEngine
A 3D Open-World Game Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Aire::Skybox Class Reference

Public Member Functions

 Skybox (Texture *texture)
 
TexturegetTexture ()
 
void Render (Window *window, Aire::Camera &camera)
 
 ~Skybox ()
 Destructor.
 

Constructor & Destructor Documentation

◆ Skybox()

Skybox::Skybox ( Texture * texture)

Creates skybox

Parameters
textureCubemap texture
Here is the call graph for this function:

Member Function Documentation

◆ getTexture()

Texture * Aire::Skybox::getTexture ( )
inline

Returns the cubemap texture assigned to the skybox

Returns
Texture* pointer to the skybox cubemap texture
Here is the caller graph for this function:

◆ Render()

void Skybox::Render ( Window * window,
Aire::Camera & camera )

Renders the skybox

Parameters
windowwindow object associated with the OpenGL context
cameraPlayer camera reference
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: