Struct windows_sys::Win32::Graphics::Dxgi::DXGI_ADAPTER_DESC2
[−]#[repr(C)]pub struct DXGI_ADAPTER_DESC2 {
pub Description: [u16; 128],
pub VendorId: u32,
pub DeviceId: u32,
pub SubSysId: u32,
pub Revision: u32,
pub DedicatedVideoMemory: usize,
pub DedicatedSystemMemory: usize,
pub SharedSystemMemory: usize,
pub AdapterLuid: LUID,
pub Flags: u32,
pub GraphicsPreemptionGranularity: DXGI_GRAPHICS_PREEMPTION_GRANULARITY,
pub ComputePreemptionGranularity: DXGI_COMPUTE_PREEMPTION_GRANULARITY,
}Expand description
Required features: ‘Win32_Graphics_Dxgi’, ‘Win32_Foundation’
Fields
Description: [u16; 128]VendorId: u32DeviceId: u32SubSysId: u32Revision: u32DedicatedVideoMemory: usizeDedicatedSystemMemory: usizeAdapterLuid: LUIDFlags: u32GraphicsPreemptionGranularity: DXGI_GRAPHICS_PREEMPTION_GRANULARITYComputePreemptionGranularity: DXGI_COMPUTE_PREEMPTION_GRANULARITY