Struct sierra::RenderingDepthInfo
source · pub struct RenderingDepthInfo {
pub depth_view: ImageView,
pub depth_layout: Layout,
pub depth_load_op: LoadOp<ClearDepth>,
pub depth_store_op: StoreOp,
}
Fields§
§depth_view: ImageView
§depth_layout: Layout
§depth_load_op: LoadOp<ClearDepth>
§depth_store_op: StoreOp
Implementations§
source§impl RenderingDepthInfo
impl RenderingDepthInfo
pub fn new(depth_view: ImageView) -> Self
pub fn load_op(self, load_op: LoadOp<ClearDepth>) -> 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, depth: ClearDepth) -> Self
pub fn store(self) -> Self
Trait Implementations§
source§impl Clone for RenderingDepthInfo
impl Clone for RenderingDepthInfo
source§fn clone(&self) -> RenderingDepthInfo
fn clone(&self) -> RenderingDepthInfo
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 RenderingDepthInfo
impl Debug for RenderingDepthInfo
source§impl From<RenderingDepthInfo> for RenderingDepthStencilAttachmentInfo
impl From<RenderingDepthInfo> for RenderingDepthStencilAttachmentInfo
source§fn from(info: RenderingDepthInfo) -> Self
fn from(info: RenderingDepthInfo) -> Self
Converts to this type from the input type.
source§impl PartialEq<RenderingDepthInfo> for RenderingDepthInfo
impl PartialEq<RenderingDepthInfo> for RenderingDepthInfo
source§fn eq(&self, other: &RenderingDepthInfo) -> bool
fn eq(&self, other: &RenderingDepthInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.