pub struct DepthStencilViewDesc(/* private fields */);Expand description
Wrapper around D3D12_DEPTH_STENCIL_VIEW_DESC structure
Implementations§
Source§impl DepthStencilViewDesc
impl DepthStencilViewDesc
pub fn set_format(&mut self, format: Format) -> &mut Self
pub fn with_format(self, format: Format) -> Self
pub fn format(&self) -> Format
pub fn view_dimension(&self) -> DsvDimension
pub fn set_flags(&mut self, flags: DsvFlags) -> &mut Self
pub fn with_flags(self, flags: DsvFlags) -> Self
pub fn flags(&self) -> DsvFlags
pub fn new_texture_1d(self, texture_1d: Tex1DDsv) -> Self
pub fn texture_1d(&self) -> Option<Tex1DDsv>
pub fn new_texture_1d_array(self, texture_1d_array: Tex1DArrayDsv) -> Self
pub fn texture_1d_array(&self) -> Option<Tex1DArrayDsv>
pub fn new_texture_2d(self, texture_2d: Tex2DDsv) -> Self
pub fn texture_2d(&self) -> Option<Tex2DDsv>
pub fn new_texture_2d_array(self, texture_2d_array: Tex2DArrayDsv) -> Self
pub fn texture_2d_array(&self) -> Option<Tex2DArrayDsv>
pub fn new_texture_2d_ms(self, texture_2d_ms: Tex2DmsDsv) -> Self
pub fn texture_2d_ms(&self) -> Option<Tex2DmsDsv>
pub fn new_texture_2d_ms_array( self, texture_2d_ms_array: Tex2DmsArrayDsv, ) -> Self
pub fn texture_2d_ms_array(&self) -> Option<Tex2DmsArrayDsv>
Trait Implementations§
Source§impl Clone for DepthStencilViewDesc
impl Clone for DepthStencilViewDesc
Source§fn clone(&self) -> DepthStencilViewDesc
fn clone(&self) -> DepthStencilViewDesc
Returns a duplicate 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 DepthStencilViewDesc
impl Debug for DepthStencilViewDesc
Source§impl Default for DepthStencilViewDesc
impl Default for DepthStencilViewDesc
Source§fn default() -> DepthStencilViewDesc
fn default() -> DepthStencilViewDesc
Returns the “default value” for a type. Read more
impl Copy for DepthStencilViewDesc
Auto Trait Implementations§
impl Freeze for DepthStencilViewDesc
impl RefUnwindSafe for DepthStencilViewDesc
impl Send for DepthStencilViewDesc
impl Sync for DepthStencilViewDesc
impl Unpin for DepthStencilViewDesc
impl UnwindSafe for DepthStencilViewDesc
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