Struct mallumo_gls::framebuffer::GeneralFramebuffer
[−]
[src]
pub struct GeneralFramebuffer { /* fields omitted */ }
Methods
impl GeneralFramebuffer
[src]
fn new() -> GeneralFramebuffer
fn attach_texture(
&self,
attachment: FramebufferAttachment,
texture_option: &DrawTextureAttachOption
) -> Result<(), Error>
&self,
attachment: FramebufferAttachment,
texture_option: &DrawTextureAttachOption
) -> Result<(), Error>
fn attach_textures(&self, textures: &DrawTextureTarget) -> Result<(), Error>
fn set_parameter(&mut self, parameter: FramebufferParameter, value: u32)
Trait Implementations
impl Debug for GeneralFramebuffer
[src]
impl Framebuffer for GeneralFramebuffer
[src]
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
)
&'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
)