pub fn with_size(mut self, w: u16, h: u16) -> Self {
        use gfx::texture::{AaMode, Kind};
        self.info.kind = Kind::D2(w, h, AaMode::Single);
        self
    }
/// Sets the texture width and height in pixels.
Sets the texture width and height in pixels.
Sets the texture width and height in pixels .
pub fn with_size(mut self, w: u16, h: u16) -> Self {
        use gfx::texture::{AaMode, Kind};
        self.info.kind = Kind::D2(w, h, AaMode::Single);
        self
    }
pub fn with_size ( mut self , w : u16 , h : u16 ) -> Self { use gfx :: texture :: { AaMode , Kind } ; self . info . kind = Kind :: D2 ( w , h , AaMode :: Single ) ; self }
Sets the texture width and height in pixels.
Sets the texture width and height in pixels .
mut self
w
u16
h
u16
mut self
w
u16
h
u16