Function SDL_GPUTextureFormatTexelBlockSize

pub unsafe extern "C" fn SDL_GPUTextureFormatTexelBlockSize(
    format: SDL_GPUTextureFormat,
) -> u32 
Available on crate feature dep_sdl3 only.
Expand description

Obtains the texel block size for a texture format.

§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