Beispiel #1
0
 public static extern unsafe HRESULT D3D11CreateDeviceAndSwapChain_(
     [In] IntPtr adapter,
     [In] D3DDriverType driverType,
     [In] IntPtr hModule,
     [In] D3D11CreateDeviceFlag flags,
     [In] D3DFeatureLevel *featureLevel,
     [In] uint featureLevels,
     [In] uint sdkVerion,
     [In] in DxgiSwapChainDesc pSwapChainDesc,
Beispiel #2
0
 public static extern HRESULT D3D11CreateDevice_(
     [In] IntPtr adapter,
     [In] D3DDriverType driverType,
     [In] IntPtr hModule,
     [In] uint flags,
     [In] D3DFeatureLevel[] featureLevel,
     [In] uint featureLevels,
     [In] uint sdkVersion,
     [Out] out IntPtr device,
     [Out] out D3DFeatureLevel pFeatureLevel,
     [Out] out IntPtr context
     );