Overte C++ Documentation
OculusDebugDisplayPlugin.h
1 //
2 // Created by Bradley Austin Davis on 2015/05/29
3 // Copyright 2015 High Fidelity, Inc.
4 //
5 // Distributed under the Apache License, Version 2.0.
6 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
7 //
8 #pragma once
9 
10 #include "OculusBaseDisplayPlugin.h"
11 
12 class OculusDebugDisplayPlugin : public OculusBaseDisplayPlugin {
13 public:
14  const QString getName() const override { return NAME; }
15  grouping getGrouping() const override { return DEVELOPER; }
16  bool isSupported() const override;
17 
18 protected:
19  void hmdPresent() override {}
20  bool isHmdMounted() const override { return true; }
21 
22 private:
23  static const char* NAME;
24 };
25