CG_Labs  2021.2
BuildSettings.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*
4 * 0: Debugging disabled (maximum performance)
5 * 1: Minimal error reporting. Constantly checks glGetError().
6 * 2: Creates GL debug context, but only logs medium and severe problems.
7 * 3: Creates GL debug context and enables all GL debugging features.
8 */
9 #define DEBUG_LEVEL 3
10 
11 /*
12 * Enables (1) or disables (0) assertions using the Assert()-call (found in Log.h)
13 * Turn off for maximum performance.
14 */
15 #define ENABLE_ASSERT 1
16 
17 /*
18 * Enables (1) or disables (0) input parameter checks using the Param()-call (found in Log.h)
19 * Turn off for maximum performance.
20 */
21 #define ENABLE_PARAM_CHECK 1
22 
23 /*
24 * Enables (1) or disables (0) CPU profiling (found in Profiler.h)
25 * Turn off for maximum performance.
26 */
27 #define ENABLE_PROFILING 1
28 
29 /*
30 * Enables (1) or disables (0) GL render state inspection (found in GLStateInspection.h)
31 * Turn off for maximum performance.
32 */
33 #define ENABLE_GL_STATE_INSPECTION 1