Struct glin::State[][src]

pub struct State { /* 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 State
[src]

gl::GetBooleanv for 1 float

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

Important traits for Vec<u8>

gl::GetBooleanv

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

gl::GetDoublev for 1 float

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

Important traits for Vec<u8>

gl::GetDoublev

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

gl::GetFloatv for 1 float

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

Important traits for Vec<u8>

gl::GetFloatv

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

gl::GetIntegerv for 1 integer

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

Important traits for Vec<u8>

gl::GetIntegerv

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

gl::GetInteger64v for 1 integer

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

Important traits for Vec<u8>

gl::GetInteger64v

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

Methods from Deref<Target = Gl>

Trait Implementations

impl Clone for State
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for State
[src]

Formats the value using the given formatter. Read more

impl Deref for State
[src]

The resulting type after dereferencing.

Dereferences the value.

impl PartialEq for State
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl !Send for State

impl !Sync for State