SDL_GPUTextureFormatTexelBlockSize(3)

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.

Availability

This function is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.