Struct d3d12::StaticSampler
source · pub struct StaticSampler(/* private fields */);
Implementations§
source§impl StaticSampler
impl StaticSampler
pub fn new( visibility: ShaderVisibility, binding: Binding, filter: D3D12_FILTER, address_mode: TextureAddressMode, mip_lod_bias: f32, max_anisotropy: u32, comparison_op: D3D12_COMPARISON_FUNC, border_color: StaticBorderColor, lod: Range<f32>, ) -> Self
Auto Trait Implementations§
impl Freeze for StaticSampler
impl RefUnwindSafe for StaticSampler
impl Send for StaticSampler
impl Sync for StaticSampler
impl Unpin for StaticSampler
impl UnwindSafe for StaticSampler
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