Overte C++ Documentation
GlobalAppProperties.h
1
//
2
// Created by Bradley Austin Davis on 2016/11/29
3
// Copyright 2013-2016 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
9
#pragma once
10
#ifndef hifi_GlobalAppProperties_h
11
#define hifi_GlobalAppProperties_h
12
13
namespace
hifi {
namespace
properties {
14
15
extern
const
char
* CRASHED;
16
extern
const
char
* STEAM;
17
extern
const
char
* LOGGER;
18
extern
const
char
* OCULUS_STORE;
19
extern
const
char
* STANDALONE;
20
extern
const
char
* TEST;
21
extern
const
char
* TRACING;
22
extern
const
char
* HMD;
23
extern
const
char
* APP_LOCAL_DATA_PATH;
24
25
namespace
gl {
26
extern
const
char
* BACKEND;
27
extern
const
char
* PRIMARY_CONTEXT;
28
}
29
30
namespace
vk {
31
extern
const
char
* CONTEXT;
32
}
33
34
enum class
GraphicsAPI {
35
GL45,
36
GL41,
37
GLES32,
38
Vulkan
39
};
40
41
void
setGraphicsAPI(GraphicsAPI api);
42
GraphicsAPI getGraphicsAPI();
43
44
} }
45
46
47
#endif
// hifi_GlobalAppProperties_h
libraries
shared
src
shared
GlobalAppProperties.h
Generated by
1.9.1