pub struct Tex3DSrv(/* private fields */);Expand description
Wrapper around D3D12_TEX3D_SRV structure
Implementations§
Source§impl Tex3DSrv
impl Tex3DSrv
pub fn set_most_detailed_mip(&mut self, most_detailed_mip: u32) -> &mut Self
pub fn with_most_detailed_mip(self, most_detailed_mip: u32) -> Self
pub fn most_detailed_mip(&self) -> u32
pub fn set_mip_levels(&mut self, mip_levels: u32) -> &mut Self
pub fn with_mip_levels(self, mip_levels: u32) -> Self
pub fn mip_levels(&self) -> u32
pub fn set_resource_min_lod_clamp( &mut self, resource_min_lod_clamp: f32, ) -> &mut Self
pub fn with_resource_min_lod_clamp(self, resource_min_lod_clamp: f32) -> Self
pub fn resource_min_lod_clamp(&self) -> f32
Trait Implementations§
impl Copy for Tex3DSrv
Auto Trait Implementations§
impl Freeze for Tex3DSrv
impl RefUnwindSafe for Tex3DSrv
impl Send for Tex3DSrv
impl Sync for Tex3DSrv
impl Unpin for Tex3DSrv
impl UnwindSafe for Tex3DSrv
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