SDL_GPUTextureFormatTexelBlockSize3
Obtains the texel block size for a texture format.
Usage
#include "SDL3/SDL.h"
Uint32 SDL_GPUTextureFormatTexelBlockSize( SDL_GPUTextureFormat format);
Header file
Defined in SDL3/SDL_gpu.h
Function parameters
- format
-
the texture format you want to know the texel size of.
Return value
( Uint32 ) Returns the texel block size of the texture format.