pub struct RasterizerState { /* private fields */ }Expand description
Pipeline
Implementations§
Source§impl RasterizerState
impl RasterizerState
pub fn raw(&self) -> &FNA3D_RasterizerState
pub fn raw_mut(&mut self) -> &mut FNA3D_RasterizerState
pub fn from_cull_mode(mode: CullMode) -> Self
Source§impl RasterizerState
Accessors
impl RasterizerState
Accessors
pub fn fill_mode(&self) -> FillMode
pub fn set_fill_mode(&mut self, fill_mode: FillMode)
pub fn cull_mode(&self) -> CullMode
pub fn set_cull_mode(&mut self, value: CullMode)
pub fn depth_bias(&self) -> f32
pub fn set_depth_bias(&mut self, value: f32)
pub fn slope_scale_depth_bias(&self) -> f32
pub fn set_slope_scale_depth_bias(&mut self, value: f32)
pub fn scissor_test_enable(&self) -> u8
pub fn set_scissor_test_enable(&mut self, value: u8)
pub fn multi_sample_anti_alias(&self) -> u8
pub fn set_multi_sample_anti_alias(&mut self, value: u8)
Trait Implementations§
Source§impl Clone for RasterizerState
impl Clone for RasterizerState
Source§fn clone(&self) -> RasterizerState
fn clone(&self) -> RasterizerState
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RasterizerState
impl Debug for RasterizerState
Auto Trait Implementations§
impl Freeze for RasterizerState
impl RefUnwindSafe for RasterizerState
impl Send for RasterizerState
impl Sync for RasterizerState
impl Unpin for RasterizerState
impl UnwindSafe for RasterizerState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more