Function pixels::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