Struct gpu_allocator::d3d12::winapi_d3d12::D3D12_SAMPLER_DESC
source · #[repr(C)]pub struct D3D12_SAMPLER_DESC {
pub Filter: u32,
pub AddressU: u32,
pub AddressV: u32,
pub AddressW: u32,
pub MipLODBias: f32,
pub MaxAnisotropy: u32,
pub ComparisonFunc: u32,
pub BorderColor: [f32; 4],
pub MinLOD: f32,
pub MaxLOD: f32,
}
Fields§
§Filter: u32
§AddressU: u32
§AddressV: u32
§AddressW: u32
§MipLODBias: f32
§MaxAnisotropy: u32
§ComparisonFunc: u32
§BorderColor: [f32; 4]
§MinLOD: f32
§MaxLOD: f32
Trait Implementations§
source§impl Clone for D3D12_SAMPLER_DESC
impl Clone for D3D12_SAMPLER_DESC
source§fn clone(&self) -> D3D12_SAMPLER_DESC
fn clone(&self) -> D3D12_SAMPLER_DESC
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 moresource§impl Default for D3D12_SAMPLER_DESC
impl Default for D3D12_SAMPLER_DESC
source§fn default() -> D3D12_SAMPLER_DESC
fn default() -> D3D12_SAMPLER_DESC
Returns the “default value” for a type. Read more
impl Copy for D3D12_SAMPLER_DESC
Auto Trait Implementations§
impl Freeze for D3D12_SAMPLER_DESC
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§
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: 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
)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
)