Class Hint.Gpu
- Namespace
- Sdl3Sharp
- Assembly
- Sdl3Sharp.dll
SDL_HINT_GPU_*
public static class Hint.Gpu
- Inheritance
-
Hint.Gpu
- Inherited Members
Properties
Driver
Gets a hint that specifies a GPU backend to use
public static Hint Driver { get; }
Property Value
- Hint
A hint that specifies a GPU backend to use
Remarks
By default, SDL will try all available GPU backends in a reasonable order until it finds one that can work,
but this hint allows the app or user to force a specific target, such as "direct3d11" if, say, your hardware supports D3D12 but want to try using D3D11 instead.
This hint should be set before any GPU functions are called.
- See Also