pub struct DepthStencilTargetInfo { /* private fields */ }Implementations§
Source§impl DepthStencilTargetInfo
impl DepthStencilTargetInfo
pub fn new() -> Self
pub fn with_texture(self, texture: &mut Texture<'_>) -> Self
pub fn with_clear_depth(self, clear_depth: f32) -> Self
pub fn with_load_op(self, value: LoadOp) -> Self
pub fn with_store_op(self, value: StoreOp) -> Self
pub fn with_stencil_load_op(self, value: LoadOp) -> Self
pub fn with_stencil_store_op(self, value: StoreOp) -> Self
pub fn with_cycle(self, cycle: bool) -> Self
pub fn with_clear_stencil(self, clear_stencil: u8) -> Self
Trait Implementations§
Source§impl Default for DepthStencilTargetInfo
impl Default for DepthStencilTargetInfo
Source§fn default() -> DepthStencilTargetInfo
fn default() -> DepthStencilTargetInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Send for DepthStencilTargetInfo
impl !Sync for DepthStencilTargetInfo
impl Freeze for DepthStencilTargetInfo
impl RefUnwindSafe for DepthStencilTargetInfo
impl Unpin for DepthStencilTargetInfo
impl UnsafeUnpin for DepthStencilTargetInfo
impl UnwindSafe for DepthStencilTargetInfo
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