[][src]Trait mallumo_gls::framebuffer::Framebuffer

pub trait Framebuffer {
    fn get_id(&self) -> FramebufferId;
fn state(&self) -> &FramebufferState;
fn mut_state(&mut self) -> &mut FramebufferState;
fn get_state(&self) -> FramebufferState;
fn set_state(&mut self, _: FramebufferState);
fn bind(&self); fn set_viewport<'a>(&'a mut self, viewport: Viewport) { ... }
fn set_enable<'a>(&'a mut self, option: EnableOption) { ... }
fn set_disable<'a>(&'a mut self, option: EnableOption) { ... }
fn set_stencil_test<'a>(&'a mut self, face: Face, stencil_test: StencilTest) { ... }
fn set_depth_test<'a>(&'a mut self, depth_test: DepthTest) { ... }
fn set_depth_mask<'a>(&'a mut self, depth_mask: DepthMask) { ... }
fn set_depth_range<'a>(&'a mut self, depth_range: DepthRange) { ... }
fn set_logic_operation<'a>(&'a mut self, logic_operation: LogicOperation) { ... }
fn set_blending_equation<'a>(
        &'a mut self,
        blending_equation_rgb: BlendingEquation,
        blending_equation_alpha: BlendingEquation
    ) { ... }
fn set_linear_blending_factors<'a>(
        &'a mut self,
        source_rgb: LinearBlendingFactor,
        destination_rgb: LinearBlendingFactor,
        source_alpha: LinearBlendingFactor,
        destination_alpha: LinearBlendingFactor
    ) { ... }
fn set_face_orientation<'a>(&'a mut self, face_orientation: FaceOrientation) { ... }
fn set_cull_face<'a>(&'a mut self, cull_face: Face) { ... }
fn set_clear_color<'a>(&'a mut self, clear_color: ClearColor) { ... }
fn set_clear_depth<'a>(&'a mut self, clear_depth: f64) { ... }
fn set_color_mask<'a>(&'a mut self, color_mask: [bool; 4]) { ... }
fn set_clip_control_origin<'a>(
        &'a mut self,
        clip_control_origin: ClipControlOrigin
    ) { ... }
fn set_clip_control_depth<'a>(
        &'a mut self,
        clip_control_depth: ClipControlDepth
    ) { ... } }

Required methods

fn get_id(&self) -> FramebufferId

fn state(&self) -> &FramebufferState

fn mut_state(&mut self) -> &mut FramebufferState

fn get_state(&self) -> FramebufferState

fn set_state(&mut self, _: FramebufferState)

fn bind(&self)

Loading content...

Provided methods

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading content...

Implementors

impl Framebuffer for DefaultFramebuffer[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 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]

Loading content...