CSEngine
Loading...
Searching...
No Matches
FirstDemoScene.h
1#pragma once
2#include "../Manager/Base/Scene.h"
3#include "../Object/SGameObject.h"
4#include "../Util/Render/MeshSurface.h"
5
6class FirstDemoScene : public CSE::Scene {
7public:
10
11 void Init() override;
12 void Tick(float elapsedTime) override;
13 void Destroy() override;
14
15private:
16 void switchingObject();
17
18private:
19 //===============
21 CSE::SGameObject* c2; //new and delete
22 CSE::SGameObject* c3; //switching render
24 //===============
25 float startTIme = 0;
26 CSE::MeshSurface* cube;
27 CSE::MeshSurface* cubemap;
28
29 bool isInvisible = false;
30 unsigned int cubeVAO = 0;
31 unsigned int cubeVBO = 0;
32};
33