Mercurial > projects > ddbg_continued
view win32/directx/d3d10misc.d @ 5:496dfd8f7342 default tip
added:
-repeat option for "in", "ov"
-run until a line option
-run until a function option
-break on a function start
-n is an alias for ov
author | marton@basel.hu |
---|---|
date | Sun, 17 Apr 2011 11:05:31 +0200 |
parents | 4a9dcbd9e54f |
children |
line wrap: on
line source
/***********************************************************************\ * d3d10misc.d * * * * Windows API header module * * * * Placed into public domain * \***********************************************************************/ module win32.directx.d3d10misc; private import win32.windows; private import win32.directx.dxgi; private import win32.directx.d3d10; extern (C) const GUID IID_ID3D10Blob = { 0x8BA5FB08, 0x5195, 0x40E2, [0xAC, 0x58, 0x0D, 0x98, 0x9C, 0x3A, 0x01, 0x02] }; interface ID3D10Blob : IUnknown { extern(Windows) : LPVOID GetBufferPointer(); SIZE_T GetBufferSize(); } enum D3D10_DRIVER_TYPE { D3D10_DRIVER_TYPE_HARDWARE = 0, D3D10_DRIVER_TYPE_REFERENCE = 1, D3D10_DRIVER_TYPE_NULL = 2, D3D10_DRIVER_TYPE_SOFTWARE = 3 } extern (C) const GUID GUID_DeviceType = { 0xD722FB4D, 0x7A68, 0x437A, [0xB2, 0x0C, 0x58, 0x04, 0xEE, 0x24, 0x94, 0xA6] }; extern(Windows) { HRESULT D3D10CreateDevice(IDXGIAdapter pAdapter, D3D10_DRIVER_TYPE DriverType, HMODULE Software, UINT Flags, UINT SDKVersion, ID3D10Device* ppDevice); HRESULT D3D10CreateDeviceAndSwapChain(IDXGIAdapter pAdapter, D3D10_DRIVER_TYPE DriverType, HMODULE Software, UINT Flags, UINT SDKVersion, DXGI_SWAP_CHAIN_DESC* pSwapChainDesc, IDXGISwapChain* ppSwapChain, ID3D10Device* ppDevice); HRESULT D3D10CreateBlob(SIZE_T NumBytes, ID3D10Blob* ppBuffer); }