pub struct StencilState {
pub front: StencilFaceState,
pub back: StencilFaceState,
pub read_mask: u32,
pub write_mask: u32,
}Fields§
§front: StencilFaceStateFront face mode.
back: StencilFaceStateBack face mode.
read_mask: u32Stencil values are AND’d with this mask when reading and writing from the stencil buffer. Only low 8 bits are used.
write_mask: u32Stencil values are AND’d with this mask when writing to the stencil buffer. Only low 8 bits are used.
Trait Implementations§
Source§impl Debug for StencilState
impl Debug for StencilState
Source§impl<'de> Deserialize<'de> for StencilState
impl<'de> Deserialize<'de> for StencilState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StencilState
impl RefUnwindSafe for StencilState
impl Send for StencilState
impl Sync for StencilState
impl Unpin for StencilState
impl UnsafeUnpin for StencilState
impl UnwindSafe for StencilState
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