Trait mallumo_gls::framebuffer::Framebuffer
[−]
[src]
pub trait Framebuffer { fn get_id(&self) -> FramebufferId; fn state(&self) -> &FramebufferState; fn mut_state(&mut self) -> &mut 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_color_mask<'a>(&'a mut self, color_mask: [bool; 4]) { ... } }
Required Methods
fn get_id(&self) -> FramebufferId
fn state(&self) -> &FramebufferState
fn mut_state(&mut self) -> &mut FramebufferState
fn bind(&self)
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
)
&'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
)
&'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_color_mask<'a>(&'a mut self, color_mask: [bool; 4])
Implementors
impl Framebuffer for DefaultFramebuffer
impl Framebuffer for GeneralFramebuffer