SDL_GPUSupportsShaderFormats

Checks for GPU runtime support.

extern (C) nothrow @nogc extern
bool
SDL_GPUSupportsShaderFormats

Parameters

format_flags SDL_GPUShaderFormat

a bitflag indicating which shader formats the app is able to provide.

name const(char)*

the preferred GPU driver, or NULL to let SDL pick the optimal driver.

Return Value

Type: bool

true if supported, false otherwise.

See Also

Meta