Struct sierra::RenderingDepthStencilInfo
source · pub struct RenderingDepthStencilInfo {
pub depth_stencil_view: ImageView,
pub depth_layout: Layout,
pub depth_load_op: LoadOp<ClearDepth>,
pub depth_store_op: StoreOp,
pub stencil_layout: Layout,
pub stencil_load_op: LoadOp<ClearStencil>,
pub stencil_store_op: StoreOp,
}
Fields§
§depth_stencil_view: ImageView
§depth_layout: Layout
§depth_load_op: LoadOp<ClearDepth>
§depth_store_op: StoreOp
§stencil_layout: Layout
§stencil_load_op: LoadOp<ClearStencil>
§stencil_store_op: StoreOp
Implementations§
source§impl RenderingDepthStencilInfo
impl RenderingDepthStencilInfo
pub fn new(depth_stencil_view: ImageView) -> Self
pub fn depth_load_op(self, depth_load_op: LoadOp<ClearDepth>) -> Self
pub fn depth_store_op(self, depth_store_op: StoreOp) -> Self
pub fn depth_layout(self, depth_layout: Layout) -> Self
pub fn depth_load(self) -> Self
pub fn depth_clear(self, depth: ClearDepth) -> Self
pub fn depth_store(self) -> Self
pub fn stencil_load_op(self, stencil_load_op: LoadOp<ClearStencil>) -> Self
pub fn stencil_store_op(self, stencil_store_op: StoreOp) -> Self
pub fn stencil_layout(self, stencil_layout: Layout) -> Self
pub fn stencil_load(self) -> Self
pub fn stencil_clear(self, stencil: ClearStencil) -> Self
pub fn stencil_store(self) -> Self
pub fn depth_stencil_layout(self, depth_stencil_layout: Layout) -> Self
pub fn depth_stencil_clear(self, depth_stencil: ClearDepthStencil) -> Self
Trait Implementations§
source§impl Clone for RenderingDepthStencilInfo
impl Clone for RenderingDepthStencilInfo
source§fn clone(&self) -> RenderingDepthStencilInfo
fn clone(&self) -> RenderingDepthStencilInfo
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 RenderingDepthStencilInfo
impl Debug for RenderingDepthStencilInfo
source§impl From<RenderingDepthStencilInfo> for RenderingDepthStencilAttachmentInfo
impl From<RenderingDepthStencilInfo> for RenderingDepthStencilAttachmentInfo
source§fn from(info: RenderingDepthStencilInfo) -> Self
fn from(info: RenderingDepthStencilInfo) -> Self
Converts to this type from the input type.
source§impl PartialEq<RenderingDepthStencilInfo> for RenderingDepthStencilInfo
impl PartialEq<RenderingDepthStencilInfo> for RenderingDepthStencilInfo
source§fn eq(&self, other: &RenderingDepthStencilInfo) -> bool
fn eq(&self, other: &RenderingDepthStencilInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.