AireEngine
A 3D Open-World Game Engine
Loading...
Searching...
No Matches
skybox.h
1#pragma once
2#include <vector>
3#include "shaderProgram.h"
4#include "../rendering/vao.h"
5#include "../rendering/texture.h"
6#include "../rendering/window.h"
7#include "../rendering/camera.h"
8
9namespace Aire {
10 class Skybox {
11
12 public:
15 Skybox(Texture* texture);
16
19 Texture* getTexture() { return tex; }
20
24 void Render(Window* window, Aire::Camera& camera);
25
27 ~Skybox();
28 private:
29 Texture* tex;
30 ShaderProgram* skyboxShader;
32 };
33}
Definition camera.h:9
A linked OpenGL program.
Definition shaderProgram.h:16
Definition skybox.h:10
Skybox(Texture *texture)
Definition skybox.cpp:56
void Render(Window *window, Aire::Camera &camera)
Definition skybox.cpp:76
Texture * getTexture()
Definition skybox.h:19
~Skybox()
Destructor.
Definition skybox.cpp:98
Texture base class.
Definition texture.h:20
Definition vao.h:8
Definition window.h:13