pub fn max_texture_side(&self) -> Option<usize> {
        self.render_state
            .as_ref()
            .map(|rs| rs.device.limits().max_texture_dimension_2d as usize)
    }
/// Returns the maximum texture dimension supported if known
///
/// This API will only return a known dimension after `set_window()` has been called
/// at least once, since the underlying device and render state are initialized lazily
/// once we have a window (that may determine the choice of adapter/device).
Returns the maximum texture dimension supported if known
This API will only return a known dimension after `set_window()` has been called
at least once, since the underlying device and render state are initialized lazily
once we have a window (that may determine the choice of adapter/device).
Returns the maximum texture dimension supported if known This API will only return a known dimension after ` set_window () ` has been called at least once since the underlying device and render state are initialized lazily once we have a window ( that may determine the choice of adapter / device ) .
pub fn max_texture_side(&self) -> Option<usize> {
        self.render_state
            .as_ref()
            .map(|rs| rs.device.limits().max_texture_dimension_2d as usize)
    }
pub fn max_texture_side ( & self ) -> Option < usize > { self . render_state . as_ref ( ) . map ( | rs | rs . device . limits ( ) . max_texture_dimension_2d as usize ) }
Returns the maximum texture dimension supported if known
This API will only return a known dimension after `set_window()` has been called
at least once, since the underlying device and render state are initialized lazily
once we have a window (that may determine the choice of adapter/device).
Returns the maximum texture dimension supported if known This API will only return a known dimension after ` set_window () ` has been called at least once since the underlying device and render state are initialized lazily once we have a window ( that may determine the choice of adapter / device ) .
&self
&self