コード例 #1
0
 public int CreateDeferredContext([NativeTypeName("UINT")] uint ContextFlags, [NativeTypeName("ID3D11DeviceContext **")] ID3D11DeviceContext **ppDeferredContext)
 {
     return(((delegate * unmanaged <ID3D11Device1 *, uint, ID3D11DeviceContext **, int>)(lpVtbl[27]))((ID3D11Device1 *)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext));
 }
コード例 #2
0
 public void GetImmediateContext([NativeTypeName("ID3D11DeviceContext **")] ID3D11DeviceContext **ppImmediateContext)
 {
     ((delegate * unmanaged <ID3D11Device1 *, ID3D11DeviceContext **, void>)(lpVtbl[40]))((ID3D11Device1 *)Unsafe.AsPointer(ref this), ppImmediateContext);
 }
コード例 #3
0
 public void GetImmediateContext(ID3D11DeviceContext **ppImmediateContext)
 {
     ((delegate * unmanaged <ID3D11Device5 *, ID3D11DeviceContext **, void>)(lpVtbl[40]))((ID3D11Device5 *)Unsafe.AsPointer(ref this), ppImmediateContext);
 }
コード例 #4
0
 public static extern int D3D11On12CreateDevice([NativeTypeName("IUnknown *")] IUnknown *pDevice, [NativeTypeName("UINT")] uint Flags, [NativeTypeName("const D3D_FEATURE_LEVEL *")] D3D_FEATURE_LEVEL *pFeatureLevels, [NativeTypeName("UINT")] uint FeatureLevels, [NativeTypeName("IUnknown *const *")] IUnknown **ppCommandQueues, [NativeTypeName("UINT")] uint NumQueues, [NativeTypeName("UINT")] uint NodeMask, [NativeTypeName("ID3D11Device **")] ID3D11Device **ppDevice, [NativeTypeName("ID3D11DeviceContext **")] ID3D11DeviceContext **ppImmediateContext, [NativeTypeName("D3D_FEATURE_LEVEL *")] D3D_FEATURE_LEVEL *pChosenFeatureLevel);
コード例 #5
0
 public static extern HRESULT D3D11CreateDeviceAndSwapChain(IDXGIAdapter *pAdapter, D3D_DRIVER_TYPE DriverType, HMODULE Software, uint Flags, [NativeTypeName("const D3D_FEATURE_LEVEL *")] D3D_FEATURE_LEVEL *pFeatureLevels, uint FeatureLevels, uint SDKVersion, [NativeTypeName("const DXGI_SWAP_CHAIN_DESC *")] DXGI_SWAP_CHAIN_DESC *pSwapChainDesc, IDXGISwapChain **ppSwapChain, ID3D11Device **ppDevice, D3D_FEATURE_LEVEL *pFeatureLevel, ID3D11DeviceContext **ppImmediateContext);
コード例 #6
0
 public static extern HRESULT D3D11CreateDevice(IDXGIAdapter *pAdapter, D3D_DRIVER_TYPE DriverType, HMODULE Software, uint Flags, [NativeTypeName("const D3D_FEATURE_LEVEL *")] D3D_FEATURE_LEVEL *pFeatureLevels, uint FeatureLevels, uint SDKVersion, ID3D11Device **ppDevice, D3D_FEATURE_LEVEL *pFeatureLevel, ID3D11DeviceContext **ppImmediateContext);
コード例 #7
0
 public HRESULT CreateDeferredContext(uint ContextFlags, ID3D11DeviceContext **ppDeferredContext)
 {
     return(((delegate * unmanaged <ID3D11Device1 *, uint, ID3D11DeviceContext **, int>)(lpVtbl[27]))((ID3D11Device1 *)Unsafe.AsPointer(ref this), ContextFlags, ppDeferredContext));
 }