Struct sierra::RenderingStencilInfo
source · pub struct RenderingStencilInfo {
pub stencil_view: ImageView,
pub stencil_layout: Layout,
pub stencil_load_op: LoadOp<ClearStencil>,
pub stencil_store_op: StoreOp,
}
Fields§
§stencil_view: ImageView
§stencil_layout: Layout
§stencil_load_op: LoadOp<ClearStencil>
§stencil_store_op: StoreOp
Implementations§
source§impl RenderingStencilInfo
impl RenderingStencilInfo
pub fn new(stencil_view: ImageView) -> Self
pub fn load_op(self, load_op: LoadOp<ClearStencil>) -> Self
pub fn store_op(self, store_op: StoreOp) -> Self
pub fn layout(self, layout: Layout) -> Self
pub fn load(self) -> Self
pub fn clear(self, stencil: ClearStencil) -> Self
pub fn store(self) -> Self
Trait Implementations§
source§impl Clone for RenderingStencilInfo
impl Clone for RenderingStencilInfo
source§fn clone(&self) -> RenderingStencilInfo
fn clone(&self) -> RenderingStencilInfo
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 RenderingStencilInfo
impl Debug for RenderingStencilInfo
source§impl From<RenderingStencilInfo> for RenderingDepthStencilAttachmentInfo
impl From<RenderingStencilInfo> for RenderingDepthStencilAttachmentInfo
source§fn from(info: RenderingStencilInfo) -> Self
fn from(info: RenderingStencilInfo) -> Self
Converts to this type from the input type.
source§impl PartialEq<RenderingStencilInfo> for RenderingStencilInfo
impl PartialEq<RenderingStencilInfo> for RenderingStencilInfo
source§fn eq(&self, other: &RenderingStencilInfo) -> bool
fn eq(&self, other: &RenderingStencilInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.