pub fn create_texture<D, T>(&mut self, tb: TextureBuilder<D, T>) -> Result<Texture>
    where
        D: AsRef<[T]>,
        T: Pod + Copy,
    {
        tb.build(&mut self.factory)
    }
/// Builds a new texture resource.
Builds a new texture resource.
Builds a new texture resource .
pub fn create_texture<D, T>(&mut self, tb: TextureBuilder<D, T>) -> Result<Texture>
    where
        D: AsRef<[T]>,
        T: Pod + Copy,
    {
        tb.build(&mut self.factory)
    }
pub fn create_texture < D , T > ( & mut self , tb : TextureBuilder < D , T > ) -> Result < Texture > where D : AsRef < [ T ] > , T : Pod + Copy , { tb . build ( & mut self . factory ) }
Builds a new texture resource.
Builds a new texture resource .
&mut self
tb
TextureBuilder<D, T>
&mut self
tb
TextureBuilder<D, T>