[][src]Struct mallumo_gls::framebuffer::FramebufferState

pub struct FramebufferState {
    pub viewport: Viewport,
    pub options: [bool; 15],
    pub stencil_test: [StencilTest; 2],
    pub depth_test: DepthTest,
    pub depth_mask: DepthMask,
    pub depth_range: DepthRange,
    pub logic_operation: LogicOperation,
    pub blending_equation_rgb: BlendingEquation,
    pub blending_equation_alpha: BlendingEquation,
    pub linear_blending_factors: Option<[LinearBlendingFactor; 4]>,
    pub face_orientation: FaceOrientation,
    pub cull_face: Face,
    pub clear_color: ClearColor,
    pub clear_depth: f64,
    pub color_mask: [bool; 4],
    pub clip_control_origin: ClipControlOrigin,
    pub clip_control_depth: ClipControlDepth,
}

Fields

viewport: Viewportoptions: [bool; 15]stencil_test: [StencilTest; 2]depth_test: DepthTestdepth_mask: DepthMaskdepth_range: DepthRangelogic_operation: LogicOperationblending_equation_rgb: BlendingEquationblending_equation_alpha: BlendingEquationlinear_blending_factors: Option<[LinearBlendingFactor; 4]>face_orientation: FaceOrientationcull_face: Faceclear_color: ClearColorclear_depth: f64color_mask: [bool; 4]clip_control_origin: ClipControlOriginclip_control_depth: ClipControlDepth

Methods

impl FramebufferState[src]

pub fn sync(&mut self, other: &FramebufferState)[src]

Trait Implementations

impl Copy for FramebufferState[src]

impl PartialEq<FramebufferState> for FramebufferState[src]

impl Default for FramebufferState[src]

impl Clone for FramebufferState[src]

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

Performs copy-assignment from source. Read more

impl Debug for FramebufferState[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.