Struct windows_sys::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,
}
Expand description
Required features: "Win32_Graphics_Direct3D12"
, "Win32_Graphics_Dxgi_Common"
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
impl Copy for D3D12_RESOURCE_DESC1
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more