Struct gl_helpers::GLInfo
source · pub struct GLInfo { /* private fields */ }
Implementations
sourceimpl GLInfo
impl GLInfo
pub fn new() -> Self
pub fn version(&self) -> &String
pub fn major(&self) -> usize
pub fn minor(&self) -> usize
pub fn glsl_major(&self) -> usize
pub fn glsl_minor(&self) -> usize
pub fn extenstions(&self) -> &[String]
pub fn max_anisotropy(&self) -> usize
pub fn max_textures(&self) -> usize
pub fn max_vertex_textures(&self) -> usize
pub fn max_texture_size(&self) -> usize
pub fn max_cube_texture_size(&self) -> usize
pub fn max_render_buffer_size(&self) -> usize
pub fn max_uniforms(&self) -> usize
pub fn max_varyings(&self) -> usize
pub fn max_attributes(&self) -> usize
pub fn precision(&self) -> &'static str
pub fn has_extenstion(&self, string: &str) -> bool
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GLInfo
impl Send for GLInfo
impl Sync for GLInfo
impl Unpin for GLInfo
impl UnwindSafe for GLInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more