#[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_DIMENSIONAlignment: u64Width: u64Height: u32DepthOrArraySize: u16MipLevels: u16Format: DXGI_FORMATSampleDesc: DXGI_SAMPLE_DESCLayout: D3D12_TEXTURE_LAYOUTFlags: D3D12_RESOURCE_FLAGSSamplerFeedbackMipRegion: D3D12_MIP_REGION

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.