Enum glitter::context::framebuffer_context::FramebufferTarget
[−]
[src]
pub enum FramebufferTarget { Framebuffer, }
All of the possible OpenGL targets for binding framebuffer objects.
Variants
Framebuffer
The lone framebuffer target.
Methods
impl FramebufferTarget
[src]
fn from_gl(gl_enum: GLenum) -> Result<Self, ()>
Convert from a raw OpenGL integer value to an enum variant. Returns an error if the value is not a valid enum variant.
fn gl_enum(&self) -> GLenum
Return the OpenGL integer value for a given enum variant.
Trait Implementations
impl Debug for FramebufferTarget
[src]
impl Clone for FramebufferTarget
[src]
fn clone(&self) -> FramebufferTarget
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for FramebufferTarget
[src]
impl PartialEq for FramebufferTarget
[src]
fn eq(&self, __arg_0: &FramebufferTarget) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.