Skip to main content

image_3d_size_bytes

Function image_3d_size_bytes 

Source
pub fn image_3d_size_bytes(
    pixel_kind: PixelKind,
    width: usize,
    height: usize,
    depth: usize,
) -> usize
Expand description

Calculates size in bytes of a volume texture using the given size of the texture and its pixel kind.