pub struct DepthState {
pub format: TextureFormat,
pub write: bool,
pub compare: CompareFunction,
}Expand description
Depth behavior of a render pipeline.
Fields§
§format: TextureFormatDepth attachment format.
write: boolWhether the pipeline writes depth.
compare: CompareFunctionThe comparison against stored depth.
Trait Implementations§
Source§impl Clone for DepthState
impl Clone for DepthState
impl Copy for DepthState
Source§impl Debug for DepthState
impl Debug for DepthState
impl Eq for DepthState
Source§impl PartialEq for DepthState
impl PartialEq for DepthState
impl StructuralPartialEq for DepthState
Auto Trait Implementations§
impl Freeze for DepthState
impl RefUnwindSafe for DepthState
impl Send for DepthState
impl Sync for DepthState
impl Unpin for DepthState
impl UnsafeUnpin for DepthState
impl UnwindSafe for DepthState
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