[][src]Struct mallumo_gls::framebuffer::FramebufferStateBuilder

pub struct FramebufferStateBuilder { /* fields omitted */ }

Methods

impl FramebufferStateBuilder[src]

pub fn new() -> FramebufferStateBuilder[src]

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

pub fn enable<'a>(
    &'a mut self,
    option: EnableOption
) -> &'a mut FramebufferStateBuilder
[src]

pub fn disable<'a>(
    &'a mut self,
    option: EnableOption
) -> &'a mut FramebufferStateBuilder
[src]

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

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

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

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

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

pub fn blending_equation<'a>(
    &'a mut self,
    blending_equation_rgb: BlendingEquation,
    blending_equation_alpha: BlendingEquation
) -> &'a mut FramebufferStateBuilder
[src]

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

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

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

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

pub fn color_mask<'a>(
    &'a mut self,
    red: bool,
    green: bool,
    blue: bool,
    alpha: bool
) -> &'a mut FramebufferStateBuilder
[src]

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

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

pub fn build(&mut self) -> FramebufferState[src]

Trait Implementations

impl Copy for FramebufferStateBuilder[src]

impl PartialEq<FramebufferStateBuilder> for FramebufferStateBuilder[src]

impl Default for FramebufferStateBuilder[src]

impl Clone for FramebufferStateBuilder[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for FramebufferStateBuilder[src]

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

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.