DOKK / manpages / debian 13 / libsdl3-doc / SDL_GetGPUShaderFormats.3.en
SDL_GetGPUShaderFormats(3) SDL3 FUNCTIONS SDL_GetGPUShaderFormats(3)

SDL_GetGPUShaderFormats - Returns the supported shader formats for this GPU context.

Defined in SDL3/SDL_gpu.h

#include "SDL3/SDL.h"
SDL_GPUShaderFormat SDL_GetGPUShaderFormats(SDL_GPUDevice *device);

a GPU context to query.

( SDL_GPUShaderFormat ) Returns a bitflag indicating which shader formats the driver is able to consume.

This function is available since SDL 3.2.0.

SDL 3.2.10 Simple Directmedia Layer