SDL_GPUTextureFormatTexelBlockSize - Man Page
Obtains the texel block size for a texture format.
Synopsis
#include <SDL3/SDL_gpu.h> Uint32 SDL_GPUTextureFormatTexelBlockSize( SDL_GPUTextureFormat format);
Function Parameters
- format
the texture format you want to know the texel size of.
Return Value
Returns the texel block size of the texture format.
Availability
This function is available since SDL 3.2.0.
See Also
Info
SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS