SDL_GetGPUShaderFormats3
Returns the supported shader formats for this gpu context.
Usage
#include "SDL3/SDL.h"
SDL_GPUShaderFormat SDL_GetGPUShaderFormats(SDL_GPUDevice *device);
Header file
Defined in SDL3/SDL_gpu.h
Function parameters
- device
-
a GPU context to query.
Return value
( SDL_GPUShaderFormat ) Returns a bitflag indicating which shader formats the driver is able to consume.