Struct windows::Win32::Graphics::Direct3D12::D3D12_RESOURCE_DESC1
#[repr(C)]pub struct D3D12_RESOURCE_DESC1 {
pub Dimension: D3D12_RESOURCE_DIMENSION,
pub Alignment: u64,
pub Width: u64,
pub Height: u32,
pub DepthOrArraySize: u16,
pub MipLevels: u16,
pub Format: DXGI_FORMAT,
pub SampleDesc: DXGI_SAMPLE_DESC,
pub Layout: D3D12_TEXTURE_LAYOUT,
pub Flags: D3D12_RESOURCE_FLAGS,
pub SamplerFeedbackMipRegion: D3D12_MIP_REGION,
}
Fields§
§Dimension: D3D12_RESOURCE_DIMENSION
§Alignment: u64
§Width: u64
§Height: u32
§DepthOrArraySize: u16
§MipLevels: u16
§Format: DXGI_FORMAT
§SampleDesc: DXGI_SAMPLE_DESC
§Layout: D3D12_TEXTURE_LAYOUT
§Flags: D3D12_RESOURCE_FLAGS
§SamplerFeedbackMipRegion: D3D12_MIP_REGION
Trait Implementations§
§impl Clone for D3D12_RESOURCE_DESC1
impl Clone for D3D12_RESOURCE_DESC1
§fn clone(&self) -> D3D12_RESOURCE_DESC1
fn clone(&self) -> D3D12_RESOURCE_DESC1
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 Debug for D3D12_RESOURCE_DESC1
impl Debug for D3D12_RESOURCE_DESC1
§impl Default for D3D12_RESOURCE_DESC1
impl Default for D3D12_RESOURCE_DESC1
§impl PartialEq for D3D12_RESOURCE_DESC1
impl PartialEq for D3D12_RESOURCE_DESC1
§fn eq(&self, other: &D3D12_RESOURCE_DESC1) -> bool
fn eq(&self, other: &D3D12_RESOURCE_DESC1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for D3D12_RESOURCE_DESC1
impl Eq for D3D12_RESOURCE_DESC1
impl StructuralPartialEq for D3D12_RESOURCE_DESC1
Auto Trait Implementations§
impl Freeze for D3D12_RESOURCE_DESC1
impl RefUnwindSafe for D3D12_RESOURCE_DESC1
impl Send for D3D12_RESOURCE_DESC1
impl Sync for D3D12_RESOURCE_DESC1
impl Unpin for D3D12_RESOURCE_DESC1
impl UnwindSafe for D3D12_RESOURCE_DESC1
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
)