Struct gl_helpers::GLInfo [−][src]
pub struct GLInfo { /* fields omitted */ }
Methods
impl GLInfo
[src]
impl GLInfo
pub fn new() -> Self
[src]
pub fn new() -> Self
pub fn version(&self) -> &String
[src]
pub fn version(&self) -> &String
pub fn major(&self) -> usize
[src]
pub fn major(&self) -> usize
pub fn minor(&self) -> usize
[src]
pub fn minor(&self) -> usize
pub fn glsl_major(&self) -> usize
[src]
pub fn glsl_major(&self) -> usize
pub fn glsl_minor(&self) -> usize
[src]
pub fn glsl_minor(&self) -> usize
pub fn extenstions(&self) -> &[String]
[src]
pub fn extenstions(&self) -> &[String]
pub fn max_anisotropy(&self) -> usize
[src]
pub fn max_anisotropy(&self) -> usize
pub fn max_textures(&self) -> usize
[src]
pub fn max_textures(&self) -> usize
pub fn max_vertex_textures(&self) -> usize
[src]
pub fn max_vertex_textures(&self) -> usize
pub fn max_texture_size(&self) -> usize
[src]
pub fn max_texture_size(&self) -> usize
pub fn max_cube_texture_size(&self) -> usize
[src]
pub fn max_cube_texture_size(&self) -> usize
pub fn max_render_buffer_size(&self) -> usize
[src]
pub fn max_render_buffer_size(&self) -> usize
pub fn max_uniforms(&self) -> usize
[src]
pub fn max_uniforms(&self) -> usize
pub fn max_varyings(&self) -> usize
[src]
pub fn max_varyings(&self) -> usize
pub fn max_attributes(&self) -> usize
[src]
pub fn max_attributes(&self) -> usize
pub fn precision(&self) -> &'static str
[src]
pub fn precision(&self) -> &'static str
pub fn has_extenstion(&self, string: &str) -> bool
[src]
pub fn has_extenstion(&self, string: &str) -> bool
Trait Implementations
impl Debug for GLInfo
[src]
impl Debug for GLInfo
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for GLInfo
[src]
impl Clone for GLInfo
fn clone(&self) -> GLInfo
[src]
fn clone(&self) -> GLInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Hash for GLInfo
[src]
impl Hash for GLInfo