Skip to main content

check_texture_size

Function check_texture_size 

Source
pub fn check_texture_size(
    device: &Device,
    width: u32,
    height: u32,
) -> Result<(), TextureError>
Expand description

Compare the given size to the limits defined by device.

ยงErrors