SDL3 module

SDL_CalculateGPUTextureFormatSize

procedureforeignextension6 overloadsSource
SDL_CalculateGPUTextureFormatSize :: (
    format: SDL_GPUTextureFormat,
    width: Uint32,
    height: Uint32,
    depth_or_layer_count: Uint32
) -> Uint32 #foreign

Parameters

width: Uint32
height: Uint32
depth_or_layer_count: Uint32

Returns

SDL_CalculateGPUTextureFormatSize :: (
    format: SDL_GPUTextureFormat,
    width: Uint32,
    height: Uint32,
    depth_or_layer_count: Uint32
) -> Uint32 #foreign

Parameters

width: Uint32
height: Uint32
depth_or_layer_count: Uint32

Returns

SDL_CalculateGPUTextureFormatSize :: (
    format: SDL_GPUTextureFormat,
    width: Uint32,
    height: Uint32,
    depth_or_layer_count: Uint32
) -> Uint32 #foreign

Parameters

width: Uint32
height: Uint32
depth_or_layer_count: Uint32

Returns

SDL_CalculateGPUTextureFormatSize :: (
    format: SDL_GPUTextureFormat,
    width: Uint32,
    height: Uint32,
    depth_or_layer_count: Uint32
) -> Uint32 #foreign

Parameters

width: Uint32
height: Uint32
depth_or_layer_count: Uint32

Returns

SDL_CalculateGPUTextureFormatSize :: (
    format: SDL_GPUTextureFormat,
    width: Uint32,
    height: Uint32,
    depth_or_layer_count: Uint32
) -> Uint32 #foreign

Parameters

width: Uint32
height: Uint32
depth_or_layer_count: Uint32

Returns

SDL_CalculateGPUTextureFormatSize :: (
    format: SDL_GPUTextureFormat,
    width: Uint32,
    height: Uint32,
    depth_or_layer_count: Uint32
) -> Uint32 #foreign

Parameters

width: Uint32
height: Uint32
depth_or_layer_count: Uint32

Returns

See also