[][src]Struct mallumo_gls::framebuffer::GeneralFramebuffer

pub struct GeneralFramebuffer { /* fields omitted */ }

Methods

impl GeneralFramebuffer[src]

pub fn new() -> GeneralFramebuffer[src]

pub fn attach_texture(
    &self,
    attachment: FramebufferAttachment,
    texture_option: &DrawTextureAttachOption
) -> Result<(), Error>
[src]

pub fn attach_textures(&self, textures: &DrawTextureTarget) -> Result<(), Error>[src]

pub fn set_parameter(&mut self, parameter: FramebufferParameter, value: u32)[src]

Trait Implementations

impl Framebuffer for GeneralFramebuffer[src]

fn set_viewport<'a>(&'a mut self, viewport: Viewport)[src]

fn set_enable<'a>(&'a mut self, option: EnableOption)[src]

fn set_disable<'a>(&'a mut self, option: EnableOption)[src]

fn set_stencil_test<'a>(&'a mut self, face: Face, stencil_test: StencilTest)[src]

fn set_depth_test<'a>(&'a mut self, depth_test: DepthTest)[src]

fn set_depth_mask<'a>(&'a mut self, depth_mask: DepthMask)[src]

fn set_depth_range<'a>(&'a mut self, depth_range: DepthRange)[src]

fn set_logic_operation<'a>(&'a mut self, logic_operation: LogicOperation)[src]

fn set_blending_equation<'a>(
    &'a mut self,
    blending_equation_rgb: BlendingEquation,
    blending_equation_alpha: BlendingEquation
)
[src]

fn set_linear_blending_factors<'a>(
    &'a mut self,
    source_rgb: LinearBlendingFactor,
    destination_rgb: LinearBlendingFactor,
    source_alpha: LinearBlendingFactor,
    destination_alpha: LinearBlendingFactor
)
[src]

fn set_face_orientation<'a>(&'a mut self, face_orientation: FaceOrientation)[src]

fn set_cull_face<'a>(&'a mut self, cull_face: Face)[src]

fn set_clear_color<'a>(&'a mut self, clear_color: ClearColor)[src]

fn set_clear_depth<'a>(&'a mut self, clear_depth: f64)[src]

fn set_color_mask<'a>(&'a mut self, color_mask: [bool; 4])[src]

fn set_clip_control_origin<'a>(
    &'a mut self,
    clip_control_origin: ClipControlOrigin
)
[src]

fn set_clip_control_depth<'a>(
    &'a mut self,
    clip_control_depth: ClipControlDepth
)
[src]

impl Drop for GeneralFramebuffer[src]

impl Debug for GeneralFramebuffer[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

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> BorrowMut for T where
    T: ?Sized
[src]

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.