Luis C. Busquets Pérez : d3dx9: Add types to d3dx9shader.h.

Alexandre Julliard julliard at winehq.org
Tue Aug 26 07:07:19 CDT 2008


Module: wine
Branch: master
Commit: 5c1fa0eeded73e7cf42703377acc388999e61733
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5c1fa0eeded73e7cf42703377acc388999e61733

Author: Luis C. Busquets Pérez <luiscar2001 at yahoo.es>
Date:   Mon Aug 25 18:47:45 2008 +0200

d3dx9: Add types to d3dx9shader.h.

---

 include/d3dx9shader.h |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 44 insertions(+), 0 deletions(-)

diff --git a/include/d3dx9shader.h b/include/d3dx9shader.h
index 0e629d9..a50b72a 100644
--- a/include/d3dx9shader.h
+++ b/include/d3dx9shader.h
@@ -21,6 +21,50 @@
 
 #include "d3dx9.h"
 
+typedef LPCSTR D3DXHANDLE;
+
+typedef enum D3DXPARAMETER_CLASS
+{
+    D3DXPC_SCALAR,
+    D3DXPC_VECTOR,
+    D3DXPC_MATRIX_ROWS,
+    D3DXPC_MATRIX_COLUMNS,
+    D3DXPC_OBJECT,
+    D3DXPC_STRUCT,
+    D3DXPC_FORCE_DWORD = 0x7fffffff,
+} D3DXPARAMETER_CLASS, *LPD3DXPARAMETER_CLASS;
+
+typedef enum D3DXPARAMETER_TYPE
+{
+    D3DXPT_VOID,
+    D3DXPT_BOOL,
+    D3DXPT_INT,
+    D3DXPT_FLOAT,
+    D3DXPT_STRING,
+    D3DXPT_TEXTURE,
+    D3DXPT_TEXTURE1D,
+    D3DXPT_TEXTURE2D,
+    D3DXPT_TEXTURE3D,
+    D3DXPT_TEXTURECUBE,
+    D3DXPT_SAMPLER,
+    D3DXPT_SAMPLER1D,
+    D3DXPT_SAMPLER2D,
+    D3DXPT_SAMPLER3D,
+    D3DXPT_SAMPLERCUBE,
+    D3DXPT_PIXELSHADER,
+    D3DXPT_VERTEXSHADER,
+    D3DXPT_PIXELFRAGMENT,
+    D3DXPT_VERTEXFRAGMENT,
+    D3DXPT_UNSUPPORTED,
+    D3DXPT_FORCE_DWORD = 0x7fffffff,
+} D3DXPARAMETER_TYPE, *LPD3DXPARAMETER_TYPE;
+
+typedef struct _D3DXMACRO {
+    LPCSTR Name;
+    LPCSTR Definition;
+} D3DXMACRO, *LPD3DXMACRO;
+
+
 #ifdef __cplusplus
 extern "C" {
 #endif




More information about the wine-cvs mailing list