d3dx9core.h revision 930b5f872e89407f445d4000d4e4aaecaa6a0998
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * Copyright (C) 2007, 2008 Tony Wasserka
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * This library is free software; you can redistribute it and/or
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * modify it under the terms of the GNU Lesser General Public
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * License as published by the Free Software Foundation; either
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * version 2.1 of the License, or (at your option) any later version.
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * This library is distributed in the hope that it will be useful,
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * Lesser General Public License for more details.
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * You should have received a copy of the GNU Lesser General Public
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * License along with this library; if not, write to the Free Software
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * a choice of LGPL license versions is made available with the language indicating
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync * of the LGPL is applied is otherwise unspecified.
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync/**********************************************
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync ***************** Definitions ****************
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync **********************************************/
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync/* D3DX_VERSION will be completely ignored since we are
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync implementing all dlls from d3dx9_24 to d3dx9_36 */
8c3d541c7ee7442f570b22eca3d82808b35b0385vboxsync#define D3DXSPRITE_DONOTMODIFY_RENDERSTATE 0x00000002
DEFINE_GUID(IID_ID3DXBuffer, 0x8ba5fb08, 0x5195, 0x40e2, 0xac, 0x58, 0xd, 0x98, 0x9c, 0x3a, 0x1, 0x2);
DEFINE_GUID(IID_ID3DXFont, 0xd79dbb70, 0x5f21, 0x4d36, 0xbb, 0xc2, 0xff, 0x52, 0x5c, 0x21, 0x3c, 0xdc);
DEFINE_GUID(IID_ID3DXLine, 0xd379ba7f, 0x9042, 0x4ac4, 0x9f, 0x5e, 0x58, 0x19, 0x2a, 0x4c, 0x6b, 0xd8);
DEFINE_GUID(IID_ID3DXRenderToEnvMap, 0x313f1b4b, 0xc7b0, 0x4fa2, 0x9d, 0x9d, 0x8d, 0x38, 0xb, 0x64, 0x38, 0x5e);
DEFINE_GUID(IID_ID3DXRenderToSurface, 0x6985f346, 0x2c3d, 0x43b3, 0xbe, 0x8b, 0xda, 0xae, 0x8a, 0x3, 0xd8, 0x94);
DEFINE_GUID(IID_ID3DXSprite, 0xba0b762d, 0x7d28, 0x43ec, 0xb9, 0xdc, 0x2f, 0x84, 0x44, 0x3b, 0x6, 0x14);
typedef struct _D3DXFONT_DESCA
typedef struct _D3DXFONT_DESCW
typedef struct _D3DXRTE_DESC
} D3DXRTE_DESC;
STDMETHOD(BeginHemisphere)(THIS_ struct IDirect3DTexture9 *texzpos, struct IDirect3DTexture9 *texzneg) PURE;
STDMETHOD(BeginParabolic)(THIS_ struct IDirect3DTexture9 *texzpos, struct IDirect3DTexture9 *texzneg) PURE;
typedef struct _D3DXRTS_DESC
} D3DXRTS_DESC;
#ifdef __cplusplus
HRESULT WINAPI D3DXCreateFontA(struct IDirect3DDevice9 *device, INT height, UINT width, UINT weight,
HRESULT WINAPI D3DXCreateFontW(struct IDirect3DDevice9 *device, INT height, UINT width, UINT weight,
#ifdef __cplusplus