mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-10 10:13:23 +02:00
37 lines
No EOL
868 B
C++
37 lines
No EOL
868 B
C++
//
|
|
// GameWorkload.h
|
|
//
|
|
// Created by Sam Gateau on 2/16/2018.
|
|
// Copyright 2018 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
#ifndef hifi_GameWorkload_h
|
|
#define hifi_GameWorkload_h
|
|
|
|
#include "workload/Space.h"
|
|
#include "workload/Engine.h"
|
|
|
|
#include "render/Scene.h"
|
|
|
|
class GameWorkloadContext : public workload::WorkloadContext {
|
|
public:
|
|
GameWorkloadContext(const workload::SpacePointer& space, const render::ScenePointer& scene);
|
|
virtual ~GameWorkloadContext();
|
|
|
|
render::ScenePointer _scene;
|
|
};
|
|
|
|
class GameWorkload {
|
|
public:
|
|
GameWorkload();
|
|
~GameWorkload();
|
|
|
|
void startup(const workload::SpacePointer& space, const render::ScenePointer& scene);
|
|
void shutdown();
|
|
|
|
workload::EnginePointer _engine;
|
|
};
|
|
|
|
#endif |