pub fn wrap_gl_texture(texture: GLuint, format: TextureFormat, width: u32, height: u32) -> Texture {
        Texture {
            texture: texture,
            format: format,
            width: width,
            height: height,
        }
    }
/// Creates a texture from a raw OpenGL handle and some additional data. Intended for internal
/// use only, use with care!
Creates a texture from a raw OpenGL handle and some additional data. Intended for internal
use only, use with care!
Creates a texture from a raw OpenGL handle and some additional data . Intended for internal use only use with care!
pub fn wrap_gl_texture(texture: GLuint, format: TextureFormat, width: u32, height: u32) -> Texture {
        Texture {
            texture: texture,
            format: format,
            width: width,
            height: height,
        }
    }
pub fn wrap_gl_texture ( texture : GLuint , format : TextureFormat , width : u32 , height : u32 ) -> Texture { Texture { texture : texture , format : format , width : width , height : height , } }
Creates a texture from a raw OpenGL handle and some additional data.
Creates a texture from a raw OpenGL handle and some additional data .
texture
GLuint
format
TextureFormat
width
u32
height
u32
texture
GLuint
format
TextureFormat
width
u32
height
u32