pub extern "C" fn SDL_GetPixelFormatFromGPUTextureFormat(
format: SDL_GPUTextureFormat,
) -> SDL_PixelFormatExpand description
Get the SDL pixel format corresponding to a GPU texture format.
§Parameters
format: a texture format.
§Return value
Returns the corresponding pixel format, or SDL_PIXELFORMAT_UNKNOWN if
there is no corresponding pixel format.
§Availability
This function is available since SDL 3.4.0.