DXGI_ADAPTER_DESC,DXGI_SWAP_CHAIN_DESC,DXGI_SAMPLE_DESC,DXGI_USAGE,DXGI_SWAP_EFFECT

1、typedef struct DXGI_ADAPTER_DESC
    {
    WCHAR Description[ 128 ];
    UINT VendorId;
    UINT DeviceId;
    UINT SubSysId;
    UINT Revision;
    SIZE_T DedicatedVideoMemory;
    SIZE_T DedicatedSystemMemory;
    SIZE_T SharedSystemMemory;
    LUID AdapterLuid;

    } DXGI_ADAPTER_DESC;

2、typedef struct DXGI_SWAP_CHAIN_DESC
    {
    DXGI_MODE_DESC BufferDesc;
    DXGI_SAMPLE_DESC SampleDesc;
    DXGI_USAGE BufferUsage;
    UINT BufferCount;
    HWND OutputWindow;
    BOOL Windowed;
    DXGI_SWAP_EFFECT SwapEffect;
    UINT Flags;
    } DXGI_SWAP_CHAIN_DESC;

3、typedef struct DXGI_SAMPLE_DESC
{
    UINT Count;
    UINT Quality;
} DXGI_SAMPLE_DESC;

4、typedef UINT DXGI_USAGE;

5、typedef 
enum DXGI_SWAP_EFFECT
    { DXGI_SWAP_EFFECT_DISCARD = 0,
DXGI_SWAP_EFFECT_SEQUENTIAL = 1
    } DXGI_SWAP_EFFECT;

你可能感兴趣的:(DXGI_ADAPTER_DESC,DXGI_SWAP_CHAIN_DESC,DXGI_SAMPLE_DESC,DXGI_USAGE,DXGI_SWAP_EFFECT)