SDL_GetGPUShaderFormats - Returns the supported shader formats for this GPU context.
Contents
Availability
This function is available since SDL 3.2.0.
Simple Directmedia Layer SDL 3.2.20 SDL_GetGPUShaderFormats(3)
Function Parameters
device a GPU context to query.
Name
SDL_GetGPUShaderFormats - Returns the supported shader formats for this GPU context.
Return Value
Returns a bitflag indicating which shader formats the driver is able to consume.
Synopsis
#include<SDL3/SDL_gpu.h>SDL_GPUShaderFormatSDL_GetGPUShaderFormats(SDL_GPUDevice*device);
