12 #ifndef __D3DX11CORE_H__ 13 #define __D3DX11CORE_H__ 18 #define D3DX11_DLL_W L"d3dx11_43.dll" 19 #define D3DX11_DLL_A "d3dx11_43.dll" 22 #define D3DX11_DLL D3DX11_DLL_W 24 #define D3DX11_DLL D3DX11_DLL_A 42 #define D3DX11_SDK_VERSION 43 46 BOOL WINAPI D3DX11DebugMute(
BOOL Mute);
61 #define INTERFACE ID3DX11DataLoader 65 STDMETHOD(Load)(THIS) PURE;
66 STDMETHOD(Decompress)(THIS_
void **ppData, SIZE_T *pcBytes) PURE;
67 STDMETHOD(Destroy)(THIS) PURE;
71 #define INTERFACE ID3DX11DataProcessor 75 STDMETHOD(Process)(THIS_
void *pData, SIZE_T cBytes) PURE;
76 STDMETHOD(CreateDeviceObject)(THIS_
void **ppDataObject) PURE;
77 STDMETHOD(Destroy)(THIS) PURE;
82 0xc93fecfa, 0x6967, 0x478a, 0xab, 0xbc, 0x40, 0x2d, 0x90, 0x62, 0x1f, 0xcb);
85 #define INTERFACE ID3DX11ThreadPump 90 STDMETHOD(QueryInterface)(THIS_ REFIID iid, LPVOID *ppv) PURE;
91 STDMETHOD_(ULONG, AddRef)(THIS) PURE;
92 STDMETHOD_(ULONG,
Release)(THIS) PURE;
95 STDMETHOD(AddWorkItem)(THIS_ ID3DX11DataLoader *pDataLoader, ID3DX11DataProcessor *pDataProcessor,
HRESULT *pHResult,
void **ppDeviceObject) PURE;
96 STDMETHOD_(
UINT, GetWorkItemCount)(THIS) PURE;
98 STDMETHOD(WaitForAllItems)(THIS) PURE;
99 STDMETHOD(ProcessDeviceWorkItems)(THIS_
UINT iWorkItemCount);
101 STDMETHOD(PurgeAllItems)(THIS) PURE;
102 STDMETHOD(GetQueueStatus)(THIS_
UINT *pIoQueue,
UINT *pProcessQueue,
UINT *pDeviceQueue) PURE;
120 #define _FACD3D 0x876 121 #define MAKE_D3DHRESULT( code ) MAKE_HRESULT( 1, _FACD3D, code ) 122 #define MAKE_D3DSTATUS( code ) MAKE_HRESULT( 0, _FACD3D, code ) 124 #define D3DERR_INVALIDCALL MAKE_D3DHRESULT(2156) 125 #define D3DERR_WASSTILLDRAWING MAKE_D3DHRESULT(540) 127 #endif //__D3DX11CORE_H__ HRESULT WINAPI D3DX11UnsetAllDeviceObjects(ID3D11DeviceContext *pContext)
typedef HRESULT(WINAPI *PFN_D3D12_SERIALIZE_ROOT_SIGNATURE)(_In_ const D3D12_ROOT_SIGNATURE_DESC *pRootSignature
DEFINE_GUID(IID_ID3DX11ThreadPump, 0xc93fecfa, 0x6967, 0x478a, 0xab, 0xbc, 0x40, 0x2d, 0x90, 0x62, 0x1f, 0xcb)
static INLINE ULONG Release(void *object)
Definition: dxgi_common.h:253
unsigned int BOOL
Definition: gctypes.h:51
interface ID3D11DeviceContext ID3D11DeviceContext
Definition: d3d11.h:252
Definition: glslang_tab.cpp:136
DECLARE_INTERFACE(ID3DX11DataLoader)
Definition: d3dx11core.h:63
DECLARE_INTERFACE_(ID3DX11ThreadPump, IUnknown)
Definition: d3dx11core.h:87
HRESULT WINAPI D3DX11CreateThreadPump(UINT cIoThreads, UINT cProcThreads, ID3DX11ThreadPump **ppThreadPump)
HRESULT WINAPI D3DX11CheckVersion(UINT D3DSdkVersion, UINT D3DX11SdkVersion)