12 #ifndef __D3DX10CORE_H__ 13 #define __D3DX10CORE_H__ 18 #define D3DX10_DLL_W L"d3dx10_43.dll" 19 #define D3DX10_DLL_A "d3dx10_43.dll" 22 #define D3DX10_DLL D3DX10_DLL_W 24 #define D3DX10_DLL D3DX10_DLL_A 42 #define D3DX10_SDK_VERSION 43 69 BOOL WINAPI D3DX10DebugMute(
BOOL Mute);
145 0xba0b762d, 0x8d28, 0x43ec, 0xb9, 0xdc, 0x2f, 0x84, 0x44, 0x3b, 0x6, 0x14);
149 #define INTERFACE ID3DX10Sprite 154 STDMETHOD(QueryInterface)(THIS_ REFIID iid, LPVOID *ppv) PURE;
155 STDMETHOD_(ULONG, AddRef)(THIS) PURE;
156 STDMETHOD_(ULONG,
Release)(THIS) PURE;
161 STDMETHOD(DrawSpritesBuffered)(THIS_
D3DX10_SPRITE *pSprites,
UINT cSprites) PURE;
162 STDMETHOD(
Flush)(THIS) PURE;
165 STDMETHOD(End)(THIS) PURE;
167 STDMETHOD(GetViewTransform)(THIS_
D3DXMATRIX *pViewTransform) PURE;
168 STDMETHOD(SetViewTransform)(THIS_
D3DXMATRIX *pViewTransform) PURE;
169 STDMETHOD(GetProjectionTransform)(THIS_
D3DXMATRIX *pProjectionTransform) PURE;
170 STDMETHOD(SetProjectionTransform)(THIS_
D3DXMATRIX *pProjectionTransform) PURE;
172 STDMETHOD(GetDevice)(THIS_
ID3D10Device** ppDevice) PURE;
183 UINT cDeviceBufferSize,
196 #define INTERFACE ID3DX10DataLoader 200 STDMETHOD(Load)(THIS) PURE;
201 STDMETHOD(Decompress)(THIS_
void **ppData, SIZE_T *pcBytes) PURE;
202 STDMETHOD(Destroy)(THIS) PURE;
206 #define INTERFACE ID3DX10DataProcessor 210 STDMETHOD(Process)(THIS_
void *pData, SIZE_T cBytes) PURE;
211 STDMETHOD(CreateDeviceObject)(THIS_
void **ppDataObject) PURE;
212 STDMETHOD(Destroy)(THIS) PURE;
217 0xc93fecfa, 0x6967, 0x478a, 0xab, 0xbc, 0x40, 0x2d, 0x90, 0x62, 0x1f, 0xcb);
220 #define INTERFACE ID3DX10ThreadPump 225 STDMETHOD(QueryInterface)(THIS_ REFIID iid, LPVOID *ppv) PURE;
226 STDMETHOD_(ULONG, AddRef)(THIS) PURE;
227 STDMETHOD_(ULONG,
Release)(THIS) PURE;
230 STDMETHOD(AddWorkItem)(THIS_ ID3DX10DataLoader *pDataLoader, ID3DX10DataProcessor *pDataProcessor,
HRESULT *pHResult,
void **ppDeviceObject) PURE;
231 STDMETHOD_(
UINT, GetWorkItemCount)(THIS) PURE;
233 STDMETHOD(WaitForAllItems)(THIS) PURE;
234 STDMETHOD(ProcessDeviceWorkItems)(THIS_
UINT iWorkItemCount);
236 STDMETHOD(PurgeAllItems)(THIS) PURE;
237 STDMETHOD(GetQueueStatus)(THIS_
UINT *pIoQueue,
UINT *pProcessQueue,
UINT *pDeviceQueue) PURE;
309 0xd79dbb70, 0x5f21, 0x4d36, 0xbb, 0xc2, 0xff, 0x52, 0x5c, 0x21, 0x3c, 0xdc);
313 #define INTERFACE ID3DX10Font 318 STDMETHOD(QueryInterface)(THIS_ REFIID iid, LPVOID *ppv) PURE;
319 STDMETHOD_(ULONG, AddRef)(THIS) PURE;
320 STDMETHOD_(ULONG,
Release)(THIS) PURE;
323 STDMETHOD(GetDevice)(THIS_
ID3D10Device** ppDevice) PURE;
326 STDMETHOD_(
BOOL, GetTextMetricsA)(THIS_ TEXTMETRICA *pTextMetrics) PURE;
327 STDMETHOD_(
BOOL, GetTextMetricsW)(THIS_ TEXTMETRICW *pTextMetrics) PURE;
329 STDMETHOD_(HDC, GetDC)(THIS) PURE;
332 STDMETHOD(PreloadCharacters)(THIS_
UINT First,
UINT Last) PURE;
333 STDMETHOD(PreloadGlyphs)(THIS_
UINT First,
UINT Last) PURE;
334 STDMETHOD(PreloadTextA)(THIS_ LPCSTR pString,
INT Count) PURE;
335 STDMETHOD(PreloadTextW)(THIS_ LPCWSTR pString,
INT Count) PURE;
343 HRESULT WINAPI_INLINE PreloadText(LPCWSTR pString,
INT Count) {
return PreloadTextW(pString, Count); }
346 HRESULT WINAPI_INLINE PreloadText(LPCSTR pString,
INT Count) {
return PreloadTextA(pString, Count); }
351 #ifndef GetTextMetrics 353 #define GetTextMetrics GetTextMetricsW 355 #define GetTextMetrics GetTextMetricsA 361 #define DrawText DrawTextW 363 #define DrawText DrawTextA 382 UINT OutputPrecision,
397 UINT OutputPrecision,
404 #define D3DX10CreateFont D3DX10CreateFontW 406 #define D3DX10CreateFont D3DX10CreateFontA 423 #define D3DX10CreateFontIndirect D3DX10CreateFontIndirectW 425 #define D3DX10CreateFontIndirect D3DX10CreateFontIndirectA 436 #define _FACD3D 0x876 437 #define MAKE_D3DHRESULT( code ) MAKE_HRESULT( 1, _FACD3D, code ) 438 #define MAKE_D3DSTATUS( code ) MAKE_HRESULT( 0, _FACD3D, code ) 440 #define D3DERR_INVALIDCALL MAKE_D3DHRESULT(2156) 441 #define D3DERR_WASSTILLDRAWING MAKE_D3DHRESULT(540) 443 #endif //__D3DX10CORE_H__ struct _D3DX10_FONT_DESCA D3DX10_FONT_DESCA
D3DXCOLOR ColorModulate
Definition: d3dx10core.h:113
BOOL Italic
Definition: d3dx10core.h:270
interface ID3DX10Font * LPD3DX10FONT
Definition: d3dx10core.h:304
Definition: d3d8types.h:77
Definition: d3dx10core.h:99
BYTE PitchAndFamily
Definition: d3dx10core.h:274
interface ID3D10ShaderResourceView ID3D10ShaderResourceView
Definition: d3d10.h:119
UINT TextureIndex
Definition: d3dx10core.h:116
interface ID3DX10Font ID3DX10Font
Definition: d3dx10core.h:303
BYTE Quality
Definition: d3dx10core.h:288
BYTE CharSet
Definition: d3dx10core.h:271
HRESULT WINAPI D3DX10CreateSprite(ID3D10Device *pDevice, UINT cDeviceBufferSize, LPD3DX10SPRITE *ppSprite)
BYTE OutputPrecision
Definition: d3dx10core.h:272
struct _D3DX10_FONT_DESCA * LPD3DX10_FONT_DESCA
struct _D3DX10_FONT_DESCW * LPD3DX10_FONT_DESCW
D3DX10_FONT_DESCA D3DX10_FONT_DESC
Definition: d3dx10core.h:298
typedef HRESULT(WINAPI *PFN_D3D12_SERIALIZE_ROOT_SIGNATURE)(_In_ const D3D12_ROOT_SIGNATURE_DESC *pRootSignature
Definition: d3dx10core.h:103
D3DXMATRIX matWorld
Definition: d3dx10core.h:108
BYTE CharSet
Definition: d3dx10core.h:286
BYTE OutputPrecision
Definition: d3dx10core.h:287
HRESULT WINAPI D3DX10CreateDeviceAndSwapChain(IDXGIAdapter *pAdapter, D3D10_DRIVER_TYPE DriverType, HMODULE Software, UINT Flags, DXGI_SWAP_CHAIN_DESC *pSwapChainDesc, IDXGISwapChain **ppSwapChain, ID3D10Device **ppDevice)
enum _D3DX10_SPRITE_FLAG D3DX10_SPRITE_FLAG
DECLARE_INTERFACE_(ID3DX10Sprite, IUnknown)
Definition: d3dx10core.h:151
interface ID3D10Device1 ID3D10Device1
Definition: d3d10_1.h:63
UINT Weight
Definition: d3dx10core.h:268
INT Height
Definition: d3dx10core.h:281
HRESULT WINAPI D3DX10CheckVersion(UINT D3DSdkVersion, UINT D3DX10SdkVersion)
_D3DX10_SPRITE_FLAG
Definition: d3dx10core.h:97
HRESULT WINAPI D3DX10UnsetAllDeviceObjects(ID3D10Device *pDevice)
D3D10_DRIVER_TYPE
Definition: d3d10misc.h:36
HRESULT WINAPI D3DX10CreateFontIndirectA(ID3D10Device *pDevice, CONST D3DX10_FONT_DESCA *pDesc, LPD3DX10FONT *ppFont)
UINT MipLevels
Definition: d3dx10core.h:269
Definition: d3dx10core.h:101
DECLARE_INTERFACE(ID3DX10DataLoader)
Definition: d3dx10core.h:198
HRESULT WINAPI D3DX10CreateDevice(IDXGIAdapter *pAdapter, D3D10_DRIVER_TYPE DriverType, HMODULE Software, UINT Flags, ID3D10Device **ppDevice)
interface IDXGISwapChain IDXGISwapChain
Definition: dxgi.h:100
UINT Width
Definition: d3dx10core.h:282
Definition: d3dx10core.h:264
HRESULT WINAPI D3DX10GetFeatureLevel1(ID3D10Device *pDevice, ID3D10Device1 **ppDevice1)
INT Height
Definition: d3dx10core.h:266
ID3D10ShaderResourceView * pTexture
Definition: d3dx10core.h:115
CHAR FaceName[LF_FACESIZE]
Definition: d3dx10core.h:275
BYTE Quality
Definition: d3dx10core.h:273
LPD3DX10_FONT_DESCA LPD3DX10_FONT_DESC
Definition: d3dx10core.h:299
interface ID3D10Device ID3D10Device
Definition: d3d10.h:203
Definition: d3dx10core.h:106
D3DXVECTOR2 TexSize
Definition: d3dx10core.h:111
struct _D3DX10_SPRITE D3DX10_SPRITE
HRESULT WINAPI D3DX10CreateFontA(ID3D10Device *pDevice, INT Height, UINT Width, UINT Weight, UINT MipLevels, BOOL Italic, UINT CharSet, UINT OutputPrecision, UINT Quality, UINT PitchAndFamily, LPCSTR pFaceName, LPD3DX10FONT *ppFont)
static INLINE ULONG Release(void *object)
Definition: dxgi_common.h:253
Definition: d3dx8math.h:40
Definition: d3dx10core.h:100
static SRes Flush(CLzmaEnc *p, uint32_t nowPos)
Definition: LzmaEnc.c:1607
unsigned int BOOL
Definition: gctypes.h:51
BYTE PitchAndFamily
Definition: d3dx10core.h:289
DEFINE_GUID(IID_ID3DX10Sprite, 0xba0b762d, 0x8d28, 0x43ec, 0xb9, 0xdc, 0x2f, 0x84, 0x44, 0x3b, 0x6, 0x14)
UINT MipLevels
Definition: d3dx10core.h:284
Definition: glslang_tab.cpp:135
Definition: d3dx10core.h:279
Format
Definition: vulkan.hpp:7957
interface ID3DX10Sprite * LPD3DX10SPRITE
Definition: d3dx10core.h:140
Definition: glslang_tab.cpp:136
Definition: glslang_tab.cpp:133
interface IDXGIAdapter IDXGIAdapter
Definition: dxgi.h:86
BOOL Italic
Definition: d3dx10core.h:285
WCHAR FaceName[LF_FACESIZE]
Definition: d3dx10core.h:290
UINT Weight
Definition: d3dx10core.h:283
HRESULT WINAPI D3DX10CreateFontW(ID3D10Device *pDevice, INT Height, UINT Width, UINT Weight, UINT MipLevels, BOOL Italic, UINT CharSet, UINT OutputPrecision, UINT Quality, UINT PitchAndFamily, LPCWSTR pFaceName, LPD3DX10FONT *ppFont)
Definition: d3dx10core.h:102
GLbitfield flags
Definition: glext.h:7828
struct _D3DX10_FONT_DESCW D3DX10_FONT_DESCW
UINT Width
Definition: d3dx10core.h:267
Definition: d3dx8math.h:402
D3DXVECTOR2 TexCoord
Definition: d3dx10core.h:110
interface ID3DX10Sprite ID3DX10Sprite
Definition: d3dx10core.h:139
HRESULT WINAPI D3DX10CreateThreadPump(UINT cIoThreads, UINT cProcThreads, ID3DX10ThreadPump **ppThreadPump)
HRESULT WINAPI D3DX10CreateFontIndirectW(ID3D10Device *pDevice, CONST D3DX10_FONT_DESCW *pDesc, LPD3DX10FONT *ppFont)