pub struct GeometryStencil {
pub target: TargetView,
pub value: u32,
pub write_mask: u32,
pub reference: u32,
pub why: String,
}Expand description
An explicit source approximation for geometry stencil before the lighting stages. A consumer writes value under
write_mask wherever the view’s depth differs from far depth; lighting states whose reference is unstated use
reference. The reason is always reported, never presented as an observed producer.
Fields§
§target: TargetView§value: u32§write_mask: u32§reference: u32§why: StringTrait Implementations§
Source§impl Clone for GeometryStencil
impl Clone for GeometryStencil
Source§impl Debug for GeometryStencil
impl Debug for GeometryStencil
Source§impl PartialEq for GeometryStencil
impl PartialEq for GeometryStencil
Source§impl Serialize for GeometryStencil
impl Serialize for GeometryStencil
impl StructuralPartialEq for GeometryStencil
Auto Trait Implementations§
impl Forget for GeometryStencil
impl Freeze for GeometryStencil
impl RefUnwindSafe for GeometryStencil
impl Send for GeometryStencil
impl Sync for GeometryStencil
impl Unpin for GeometryStencil
impl UnsafeUnpin for GeometryStencil
impl UnwindSafe for GeometryStencil
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