[][src]Struct glin::State

pub struct State<'a> { /* fields omitted */ }

Represents the state of a Context

A State is a fast way of keeping track of the OpenGL global state so the Context can pass a set of properties, vao, program... on every call making OpenGL appear stateless

Methods

impl<'a> State<'a>
[src]

gl::GetBooleanv for 1 float

https://www.khronos.org/registry/OpenGL-Refpages/gl4/

gl::GetBooleanv

https://www.khronos.org/registry/OpenGL-Refpages/gl4/

gl::GetDoublev for 1 float

https://www.khronos.org/registry/OpenGL-Refpages/gl4/

gl::GetDoublev

https://www.khronos.org/registry/OpenGL-Refpages/gl4/

gl::GetFloatv for 1 float

https://www.khronos.org/registry/OpenGL-Refpages/gl4/

gl::GetFloatv

https://www.khronos.org/registry/OpenGL-Refpages/gl4/

gl::GetIntegerv for 1 integer

https://www.khronos.org/registry/OpenGL-Refpages/gl4/

gl::GetIntegerv

https://www.khronos.org/registry/OpenGL-Refpages/gl4/

gl::GetInteger64v for 1 integer

https://www.khronos.org/registry/OpenGL-Refpages/gl4/

gl::GetInteger64v

https://www.khronos.org/registry/OpenGL-Refpages/gl4/

Methods from Deref<Target = Gl>

Trait Implementations

impl<'a> Clone for State<'a>
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for State<'a>
[src]

impl<'a> Deref for State<'a>
[src]

The resulting type after dereferencing.

Auto Trait Implementations

impl<'a> !Send for State<'a>

impl<'a> !Sync for State<'a>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: Any
[src]

impl<T> SetParameter for T
[src]

Sets value as a parameter of self.