#![allow(non_camel_case_types)] #![allow(non_snake_case)] // use here so that the recursive RIDL macro can find the crate use winapi::um::unknwnbase::{IUnknown, IUnknownVtbl}; use winapi::RIDL; RIDL! {#[uuid(0x63aad0b8, 0x7c24, 0x40ff, 0x85, 0xa8, 0x64, 0x0d, 0x94, 0x4c, 0xc3, 0x25)] interface ISwapChainPanelNative(ISwapChainPanelNativeVtbl): IUnknown(IUnknownVtbl) { fn SetSwapChain(swapChain: *const winapi::shared::dxgi1_2::IDXGISwapChain1,) -> winapi::um::winnt::HRESULT, }} winapi::ENUM! { enum D3D12_VIEW_INSTANCING_TIER { D3D12_VIEW_INSTANCING_TIER_NOT_SUPPORTED = 0, D3D12_VIEW_INSTANCING_TIER_1 = 1, D3D12_VIEW_INSTANCING_TIER_2 = 2, D3D12_VIEW_INSTANCING_TIER_3 = 3, } } winapi::ENUM! { enum D3D12_COMMAND_LIST_SUPPORT_FLAGS { D3D12_COMMAND_LIST_SUPPORT_FLAG_NONE = 0, // D3D12_COMMAND_LIST_SUPPORT_FLAG_DIRECT, // D3D12_COMMAND_LIST_SUPPORT_FLAG_BUNDLE, // D3D12_COMMAND_LIST_SUPPORT_FLAG_COMPUTE, // D3D12_COMMAND_LIST_SUPPORT_FLAG_COPY, // D3D12_COMMAND_LIST_SUPPORT_FLAG_VIDEO_DECODE, // D3D12_COMMAND_LIST_SUPPORT_FLAG_VIDEO_PROCESS, // D3D12_COMMAND_LIST_SUPPORT_FLAG_VIDEO_ENCODE, } } winapi::STRUCT! { struct D3D12_FEATURE_DATA_D3D12_OPTIONS3 { CopyQueueTimestampQueriesSupported: winapi::shared::minwindef::BOOL, CastingFullyTypedFormatSupported: winapi::shared::minwindef::BOOL, WriteBufferImmediateSupportFlags: D3D12_COMMAND_LIST_SUPPORT_FLAGS, ViewInstancingTier: D3D12_VIEW_INSTANCING_TIER, BarycentricsSupported: winapi::shared::minwindef::BOOL, } }