Obtains the texel block size for a texture format.
Defined in <SDL3/SDL_gpu.h>
Uint32 SDL_GPUTextureFormatTexelBlockSize( SDL_GPUTextureFormat format);
SDL_GPUTextureFormat | format | the texture format you want to know the texel size of. |
(Uint32) Returns the texel block size of the texture format.
This function is available since SDL 3.1.3.