Struct windows::Win32::Graphics::Direct3D12::D3D12_SAMPLER_DESC2
#[repr(C)]pub struct D3D12_SAMPLER_DESC2 {
pub Filter: D3D12_FILTER,
pub AddressU: D3D12_TEXTURE_ADDRESS_MODE,
pub AddressV: D3D12_TEXTURE_ADDRESS_MODE,
pub AddressW: D3D12_TEXTURE_ADDRESS_MODE,
pub MipLODBias: f32,
pub MaxAnisotropy: u32,
pub ComparisonFunc: D3D12_COMPARISON_FUNC,
pub Anonymous: D3D12_SAMPLER_DESC2_0,
pub MinLOD: f32,
pub MaxLOD: f32,
pub Flags: D3D12_SAMPLER_FLAGS,
}
Fields§
§Filter: D3D12_FILTER
§AddressU: D3D12_TEXTURE_ADDRESS_MODE
§AddressV: D3D12_TEXTURE_ADDRESS_MODE
§AddressW: D3D12_TEXTURE_ADDRESS_MODE
§MipLODBias: f32
§MaxAnisotropy: u32
§ComparisonFunc: D3D12_COMPARISON_FUNC
§Anonymous: D3D12_SAMPLER_DESC2_0
§MinLOD: f32
§MaxLOD: f32
§Flags: D3D12_SAMPLER_FLAGS
Trait Implementations§
§impl Clone for D3D12_SAMPLER_DESC2
impl Clone for D3D12_SAMPLER_DESC2
§fn clone(&self) -> D3D12_SAMPLER_DESC2
fn clone(&self) -> D3D12_SAMPLER_DESC2
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 more§impl Default for D3D12_SAMPLER_DESC2
impl Default for D3D12_SAMPLER_DESC2
impl Copy for D3D12_SAMPLER_DESC2
Auto Trait Implementations§
impl Freeze for D3D12_SAMPLER_DESC2
impl RefUnwindSafe for D3D12_SAMPLER_DESC2
impl Send for D3D12_SAMPLER_DESC2
impl Sync for D3D12_SAMPLER_DESC2
impl Unpin for D3D12_SAMPLER_DESC2
impl UnwindSafe for D3D12_SAMPLER_DESC2
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)