2 * Copyright 2008 Luis Busquets
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __D3DX9SHADER_H__
20 #define __D3DX9SHADER_H__
24 typedef LPCSTR D3DXHANDLE
;
26 typedef enum D3DXPARAMETER_CLASS
31 D3DXPC_MATRIX_COLUMNS
,
34 D3DXPC_FORCE_DWORD
= 0x7fffffff,
35 } D3DXPARAMETER_CLASS
, *LPD3DXPARAMETER_CLASS
;
37 typedef enum D3DXPARAMETER_TYPE
57 D3DXPT_VERTEXFRAGMENT
,
59 D3DXPT_FORCE_DWORD
= 0x7fffffff,
60 } D3DXPARAMETER_TYPE
, *LPD3DXPARAMETER_TYPE
;
62 typedef struct _D3DXMACRO
{
65 } D3DXMACRO
, *LPD3DXMACRO
;
72 LPCSTR WINAPI
D3DXGetPixelShaderProfile(LPDIRECT3DDEVICE9 device
);
73 UINT WINAPI
D3DXGetShaderSize(const DWORD
*byte_code
);
74 DWORD WINAPI
D3DXGetShaderVersion(const DWORD
*byte_code
);
75 LPCSTR WINAPI
D3DXGetVertexShaderProfile(LPDIRECT3DDEVICE9 device
);
81 #endif /* __D3DX9SHADER_H__ */