Files
Destrum/lightkeeper/include/scenes/MainScene.h
T

26 lines
679 B
C++

#ifndef LIGHTKEEPER_MAINSCENE_H
#define LIGHTKEEPER_MAINSCENE_H
#include <destrum/Graphics/ids.h>
class FirstPersonController;
class GameObject;
class GfxDevice;
class RenderResources;
class Scene;
// What the app keeps a hold of after building the scene
struct MainSceneObjects {
GameObject* player{nullptr};
FirstPersonController* playerController{nullptr};
// Used by the debug "Spawn ball" button
MeshID sphereMesh{};
MaterialID sphereMaterial{};
};
// Sun, ground, parkour course, models, trigger zone and the player
MainSceneObjects BuildMainScene(Scene& scene, GfxDevice& gfxDevice, RenderResources& resources);
#endif // LIGHTKEEPER_MAINSCENE_H