pub struct Tex1DArraySrv(/* private fields */);Expand description
Wrapper around D3D12_TEX1D_ARRAY_SRV structure
Implementations§
Source§impl Tex1DArraySrv
impl Tex1DArraySrv
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_first_array_slice(&mut self, first_array_slice: u32) -> &mut Self
pub fn with_first_array_slice(self, first_array_slice: u32) -> Self
pub fn first_array_slice(&self) -> u32
pub fn set_array_size(&mut self, array_size: u32) -> &mut Self
pub fn with_array_size(self, array_size: u32) -> Self
pub fn array_size(&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§
Source§impl Clone for Tex1DArraySrv
impl Clone for Tex1DArraySrv
Source§fn clone(&self) -> Tex1DArraySrv
fn clone(&self) -> Tex1DArraySrv
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 Tex1DArraySrv
impl Debug for Tex1DArraySrv
Source§impl Default for Tex1DArraySrv
impl Default for Tex1DArraySrv
Source§fn default() -> Tex1DArraySrv
fn default() -> Tex1DArraySrv
Returns the “default value” for a type. Read more
Source§impl PartialEq for Tex1DArraySrv
impl PartialEq for Tex1DArraySrv
Source§impl PartialOrd for Tex1DArraySrv
impl PartialOrd for Tex1DArraySrv
impl StructuralPartialEq for Tex1DArraySrv
Auto Trait Implementations§
impl Freeze for Tex1DArraySrv
impl RefUnwindSafe for Tex1DArraySrv
impl Send for Tex1DArraySrv
impl Sync for Tex1DArraySrv
impl Unpin for Tex1DArraySrv
impl UnwindSafe for Tex1DArraySrv
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