logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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