Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_GPUTextureFormatTexelBlockSize - Obtains the texel block size for a texture format.

Availability

       This function is available since SDL 3.2.0.

Function Parameters

format the texture format you want to know the texel size of.

Name

       SDL_GPUTextureFormatTexelBlockSize - Obtains the texel block size for a texture format.

Return Value

       Returns the texel block size of the texture format.

See Also

SDL_UploadToGPUTexture(3)

Simple Directmedia Layer                           SDL 3.2.20              SDL_GPUTextureFormatTexelBlockSize(3)

Synopsis

#include<SDL3/SDL_gpu.h>Uint32SDL_GPUTextureFormatTexelBlockSize(SDL_GPUTextureFormatformat);

See Also