-
Notifications
You must be signed in to change notification settings - Fork 421
Environment variables
When running tests in a grouped fashion, unobserved exceptions will be thrown at the next garbage collection (as they are handled in the finalizer of related Task
s). This can make it very hard to track down issues stemming from unobserved exceptions. Setting this variable to 1
will force a garbage collection after each test method, increasing the chances of unobserved exceptions firing against their related tests.
Note that this adds a considerable overhead to test runs, especially on projects with large allocations. For osu! we see an overhead of around 80-100%. For this reason, it is disabled by default.
By default, AddUntilStep
has a timeout to ensure tests don't run forever. Settings this variable to 1
will disable this timeout. This is useful when diagnosing deadlock scenarios, or to allow ample time to attach a debugger and check on the current state of the game in a fail case.
Force an execution mode for test runs. Valid values are SingleThread
and MultiThreaded
. Default is MultiThreaded
.
Selects the graphics renderer implementation. Valid values are:
-
gl
oropengl
- theGLRenderer
implementation.- Only supports the
opengl
graphics surface.
- Only supports the
-
veldrid
- theVeldridRenderer
implementation.
Selects the graphics surface that the renderer should use. Valid values are:
opengl
-
metal
(only on Apple operating systems) -
direct3d11
(only on Windows operating systems) -
vulkan
(except Apple operating systems)
Enables/disables use of Shader Storage Buffer Objects. When disabled, the game falls back to Uniform Buffer Objects that are more limited in functionality but more broadly supported.
Valid values are:
-
0
- Disabled -
1
- Enabled
Whether to allow access to framework overlays via touch input. When set to 1
(default):
- Double-click on any area on the bottom right corner of the screen to cycle between frame statistics display (and also make it visible from hidden state).
- Tap with a single finger to expand the frame statistics display when in full state (similar to holding Ctrl).
- Tap with a second finger to freeze the frame statistics display (similar to holding Shift).
Note that this only works in debug builds. Disable for debug builds by setting to 0
.
Whether to allow non-SSL web requests. When not provided, http://
requests will be automatically converted to https://
.
Only available in debug builds.
- Create your first project
- Learning framework key bindings
- Adding resource stores
- Adding custom key bindings
- Adding custom fonts