[−][src]Struct mallumo_gls::framebuffer::GeneralFramebuffer
Methods
impl GeneralFramebuffer
[src]
pub fn new() -> GeneralFramebuffer
[src]
pub fn attach_texture(
&self,
attachment: FramebufferAttachment,
texture_option: &DrawTextureAttachOption
) -> Result<(), Error>
[src]
&self,
attachment: FramebufferAttachment,
texture_option: &DrawTextureAttachOption
) -> Result<(), Error>
pub fn attach_textures(&self, textures: &DrawTextureTarget) -> Result<(), Error>
[src]
pub fn set_parameter(&mut self, parameter: FramebufferParameter, value: u32)
[src]
Trait Implementations
impl Framebuffer for GeneralFramebuffer
[src]
fn get_id(&self) -> FramebufferId
[src]
fn state(&self) -> &FramebufferState
[src]
fn mut_state(&mut self) -> &mut FramebufferState
[src]
fn get_state(&self) -> FramebufferState
[src]
fn set_state(&mut self, state: FramebufferState)
[src]
fn bind(&self)
[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]
&'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
)
[src]
&'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)
[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]
&'a mut self,
clip_control_origin: ClipControlOrigin
)
fn set_clip_control_depth<'a>(
&'a mut self,
clip_control_depth: ClipControlDepth
)
[src]
&'a mut self,
clip_control_depth: ClipControlDepth
)
impl Drop for GeneralFramebuffer
[src]
impl Debug for GeneralFramebuffer
[src]
Auto Trait Implementations
impl Send for GeneralFramebuffer
impl Sync for GeneralFramebuffer
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,