Overte C++ Documentation
RenderForward.h
1
//
2
// Created by Sam Gondelman on 3/7/19.
3
// Copyright 2019 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
#ifndef hifi_RenderForward_h
10
#define hifi_RenderForward_h
11
12
#include <QString>
13
#include <QProcess>
14
15
#if defined(USE_GLES)
16
// This isn't necessary since android forces the forward renderer, but just in case
17
static
bool
RENDER_FORWARD =
true
;
18
#else
19
static
const
QString RENDER_FORWARD_STRING {
"HIFI_RENDER_FORWARD"
};
20
static
bool
RENDER_FORWARD = QProcessEnvironment::systemEnvironment().contains(RENDER_FORWARD_STRING);
21
#endif
22
23
24
#endif
// hifi_RenderForward_h
libraries
shared
src
RenderForward.h
Generated by
1.9.1