Struct mltg_bindings::Windows::Win32::Graphics::Direct3D12::D3D12_RESOURCE_DESC [−][src]
#[repr(C)]pub struct D3D12_RESOURCE_DESC { 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, }
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
Trait Implementations
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
Auto Trait Implementations
impl RefUnwindSafe for D3D12_RESOURCE_DESC
impl Send for D3D12_RESOURCE_DESC
impl Sync for D3D12_RESOURCE_DESC
impl Unpin for D3D12_RESOURCE_DESC
impl UnwindSafe for D3D12_RESOURCE_DESC
Blanket Implementations
Mutably borrows from an owned value. Read more