Extent of a texture related operation.
Corresponds to WebGPU
Calculates the physical size backing a texture of the given format and extent. This includes padding to the block width and height of the format.
This is the texture extent that you must upload at when uploading to mipmaps of compressed textures.
Calculates the maximum possible count of mipmaps.
Treats the depth as part of the mipmaps. If calculating for a 2DArray texture, which does not mipmap depth, set depth to 1.
Calculates the extent at a given mip level. Does not account for memory size being a multiple of block size.
trueif they are equal.
Returns the argument unchanged.