Struct mallumo_gls::framebuffer::FramebufferState
[−]
[src]
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: Viewport
options: [bool; 15]
stencil_test: [StencilTest; 2]
depth_test: DepthTest
depth_mask: DepthMask
depth_range: DepthRange
logic_operation: LogicOperation
blending_equation_rgb: BlendingEquation
blending_equation_alpha: BlendingEquation
linear_blending_factors: Option<[LinearBlendingFactor; 4]>
face_orientation: FaceOrientation
cull_face: Face
clear_color: ClearColor
clear_depth: f64
color_mask: [bool; 4]
clip_control_origin: ClipControlOrigin
clip_control_depth: ClipControlDepth
Methods
impl FramebufferState
[src]
pub fn sync(&mut self, other: &FramebufferState)
[src]
Trait Implementations
impl Debug for FramebufferState
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for FramebufferState
[src]
impl Clone for FramebufferState
[src]
fn clone(&self) -> FramebufferState
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for FramebufferState
[src]
fn eq(&self, __arg_0: &FramebufferState) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FramebufferState) -> bool
[src]
This method tests for !=
.
impl Default for FramebufferState
[src]
fn default() -> FramebufferState
[src]
Returns the "default value" for a type. Read more