#include "Engine/Material/MaterialTypes.h"
#include <cstdint>
#include <vector>
Go to the source code of this file.
◆ GPU_DEBUGGING_MODE
| Enumerator |
|---|
| NONE | |
| GPU_PRINTF | |
| GPU_VALIDATION | |
Definition at line 12 of file Settings.h.
◆ OPENXR_LAUNCH_MODE
| Enumerator |
|---|
| DEFAULT | |
| OCULUS_LAUNCH | |
Definition at line 6 of file Settings.h.
◆ ARE_VALIDATION_LAYERS_ENABLED
| bool ARE_VALIDATION_LAYERS_ENABLED = false |
|
constexpr |
◆ DEFAULT_MATERIAL_PIPELINE
◆ DEFAULT_OPENXR_LAUNCH_MODE
Engine execution modes (mutually exclusive)
- Neither defined: Full VR rendering with XR and mesh shaders
- COMPUTE_DEBUG: No XR/mesh shaders, but compute pipeline runs with readback
- HEADLESS: Nothing runs (placeholder shaders, no dispatches) - for CI/testing
Uncomment ONE of the following defines to enable that mode:
Definition at line 53 of file Settings.h.
◆ INITIAL_WINDOW_HEIGHT
| int INITIAL_WINDOW_HEIGHT = 1080 |
|
constexpr |
◆ INITIAL_WINDOW_WIDTH
| int INITIAL_WINDOW_WIDTH = 1920 |
|
constexpr |
◆ IS_VSYNC_ENABLED
| bool IS_VSYNC_ENABLED = false |
|
constexpr |
◆ MAX_FRAMES_IN_FLIGHT
| int MAX_FRAMES_IN_FLIGHT = 2 |
|
constexpr |
◆ MAX_MESH_COUNT
| uint32_t MAX_MESH_COUNT = 1024u |
|
constexpr |
◆ MAX_MESHLETS_PER_BIN
| uint32_t MAX_MESHLETS_PER_BIN = 262144u |
|
constexpr |
◆ MAX_PIPELINES
| uint32_t MAX_PIPELINES = 32u |
|
constexpr |
◆ MAX_TEXTURE_COUNT
| uint32_t MAX_TEXTURE_COUNT = 2048u |
|
constexpr |
◆ MESHLET_TRIANGLE_COUNT
| uint32_t MESHLET_TRIANGLE_COUNT = 252 |
|
constexpr |
◆ MESHLET_VERTEX_COUNT
| uint32_t MESHLET_VERTEX_COUNT = 252 |
|
constexpr |
◆ USE_GPU_PRINTF
◆ validationLayers
| const std::vector<const char*> validationLayers |
Initial value:= {
"VK_LAYER_KHRONOS_validation",
"VK_LAYER_KHRONOS_synchronization2"
}
Definition at line 19 of file Settings.h.