Struct windows_sys::Win32::Graphics::Direct3D12::D3D12_SAMPLER_DESC [−]
#[repr(C)]pub struct D3D12_SAMPLER_DESC {
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 BorderColor: [f32; 4],
pub MinLOD: f32,
pub MaxLOD: f32,
}Expand description
Required features: ‘Win32_Graphics_Direct3D12’
Fields
Filter: D3D12_FILTERAddressU: D3D12_TEXTURE_ADDRESS_MODEAddressV: D3D12_TEXTURE_ADDRESS_MODEAddressW: D3D12_TEXTURE_ADDRESS_MODEMipLODBias: f32MaxAnisotropy: u32ComparisonFunc: D3D12_COMPARISON_FUNCBorderColor: [f32; 4]MinLOD: f32MaxLOD: f32Trait Implementations
impl Clone for D3D12_SAMPLER_DESC
impl Clone for D3D12_SAMPLER_DESC
impl Copy for D3D12_SAMPLER_DESC
Auto Trait Implementations
impl RefUnwindSafe for D3D12_SAMPLER_DESC
impl Send for D3D12_SAMPLER_DESC
impl Sync for D3D12_SAMPLER_DESC
impl Unpin for D3D12_SAMPLER_DESC
impl UnwindSafe for D3D12_SAMPLER_DESC
Blanket Implementations
Mutably borrows from an owned value. Read more
