pub fn gl_primitive_enum_name(&self) -> &'static str {
        match *self {
            TextureFormat::RGBA_F32 | TextureFormat::RGB_F32 | TextureFormat::R_F32 => "GLfloat",
            TextureFormat::RGBA_F16 | TextureFormat::RGB_F16 | TextureFormat::R_F16 => "GLfloat",
            TextureFormat::RGBA_8 | TextureFormat::RGB_8 | TextureFormat::R_8 => "GLbyte",
        }
    }
/// The name of the OpenGL primitive associated with this color format.
The name of the OpenGL primitive associated with this color format.
The name of the OpenGL primitive associated with this color format .
pub fn gl_primitive_enum_name(&self) -> &'static str {
        match *self {
            TextureFormat::RGBA_F32 | TextureFormat::RGB_F32 | TextureFormat::R_F32 => "GLfloat",
            TextureFormat::RGBA_F16 | TextureFormat::RGB_F16 | TextureFormat::R_F16 => "GLfloat",
            TextureFormat::RGBA_8 | TextureFormat::RGB_8 | TextureFormat::R_8 => "GLbyte",
        }
    }
pub fn gl_primitive_enum_name ( & self ) -> & ' static str { match * self { TextureFormat :: RGBA_F32 | TextureFormat :: RGB_F32 | TextureFormat :: R_F32 => " " , TextureFormat :: RGBA_F16 | TextureFormat :: RGB_F16 | TextureFormat :: R_F16 => " " , TextureFormat :: RGBA_8 | TextureFormat :: RGB_8 | TextureFormat :: R_8 => " " , } }
The name of the OpenGL primitive associated with this color format.
The name of the OpenGL primitive associated with this color format .
&self
&self