Skip to main content

resource_texture_bytes

Function resource_texture_bytes 

Source
pub const fn resource_texture_bytes(width: u32, height: u32) -> u64
Expand description

The total byte footprint of a resource texture of width x height texels — the size an upload buffer is padded to.