Lines Matching refs:sd
38 DXGI_SWAP_CHAIN_DESC sd; in InitDevice() local
39 ZeroMemory( &sd, sizeof( sd ) ); in InitDevice()
40 sd.BufferCount = 1; in InitDevice()
41 sd.BufferDesc.Width = width; in InitDevice()
42 sd.BufferDesc.Height = height; in InitDevice()
43 sd.BufferDesc.Format = DXGI_FORMAT_R8G8B8A8_UNORM; in InitDevice()
44 sd.BufferDesc.RefreshRate.Numerator = 60; in InitDevice()
45 sd.BufferDesc.RefreshRate.Denominator = 1; in InitDevice()
46 sd.BufferUsage = DXGI_USAGE_RENDER_TARGET_OUTPUT; in InitDevice()
47 sd.OutputWindow = NULL; //g_hWnd; in InitDevice()
48 sd.SampleDesc.Count = 1; in InitDevice()
49 sd.SampleDesc.Quality = 0; in InitDevice()
50 sd.Windowed = TRUE; in InitDevice()
56 … D3D11_SDK_VERSION, &sd, &g_pSwapChain, &g_pd3dDevice, &g_featureLevel, &g_pImmediateContext); in InitDevice()