Khaotic Engine Reborn
Loading...
Searching...
No Matches
Skybox.h
1#pragma once
2#include <vector>
3
4#include "d_3d_class.h"
5#include "object.h"
6
7class Skybox
8{
9public:
10
15 Skybox();
16 ~Skybox();
17
22 void Initialize(d_3d_class* d3dClassRef); // Get all the required references
23
30
31
32 // Variables
33
34 std::vector<ID3D11ShaderResourceView*> textures;
35 std::vector<XMMATRIX> translations;
36
37private:
38
39 d_3d_class* m_d3dClassRef; // Reference to the d_3d_class instance
40 object* m_Skybox;
41
42
43};
Definition Skybox.h:8
object * ConstructSkybox(application_class *app)
Definition Skybox.cpp:26
Skybox()
Constructor for the Skybox class. Initializes the skybox with a reference to the d_3d_class instance.
Definition Skybox.cpp:3
void Initialize(d_3d_class *d3dClassRef)
Definition Skybox.cpp:21