// ================================================================================
//  Null object setup methods
// ================================================================================
/// A default texture to use when there isn't one selected for the drawable
/// object slot.
///
/// This will be used in place of all shaders in a Drawable Object that are
/// set to None.
Null object setup methods
A default texture to use when there isn't one selected for the drawable
object slot.

This will be used in place of all shaders in a Drawable Object that are
set to None.
Null object setup methods A default texture to use when there isn ' t one selected for the drawable object slot . This will be used in place of all shaders in a Drawable Object that are set to None .
fn create_default_texture(&mut self) {
    let image_and_handle = BufferImageStore::load_image_with_staging_initialization(
      &self.buffer_image_store,
      Monocolor::clear(),
      MagnificationMinificationFilter::Nearest,
      MagnificationMinificationFilter::Nearest,
      TextureAddressMode::ClampToEdge,
      TextureAddressMode::ClampToEdge,
      TextureAddressMode::ClampToEdge,
      1,
    )
    .unwrap();
    self.default_texture = Some(image_and_handle);
  }
fn create_default_texture ( & mut self ) { let image_and_handle = BufferImageStore :: load_image_with_staging_initialization ( & self . buffer_image_store , Monocolor :: clear ( ) , MagnificationMinificationFilter :: Nearest , MagnificationMinificationFilter :: Nearest , TextureAddressMode :: ClampToEdge , TextureAddressMode :: ClampToEdge , TextureAddressMode :: ClampToEdge , 1 , ) . unwrap ( ) ; self . default_texture = Some ( image_and_handle ) ; }
Null object setup methods
A default texture to use when there isn't one selected for the drawable
object slot.
Null object setup methods A default texture to use when there isn ' t one selected for the drawable object slot .
&mut self