aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/d3d/D3dCtx.hpp
diff options
context:
space:
mode:
authorChien Yang <[email protected]>2006-10-27 04:45:39 +0000
committerChien Yang <[email protected]>2006-10-27 04:45:39 +0000
commita667c6f38ae0916ef492c4d1bdbb9479db91c260 (patch)
tree87b76e92cd45cee3542b6b365d6b6268ddd43d98 /src/native/d3d/D3dCtx.hpp
parent9b7f91292fcf0cbed1e80dfb4ff998b1a7352939 (diff)
1) Implemented Raster support for d3d pipe.
2) Created a proper vertex data type for Background image. git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@729 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src/native/d3d/D3dCtx.hpp')
-rw-r--r--src/native/d3d/D3dCtx.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/native/d3d/D3dCtx.hpp b/src/native/d3d/D3dCtx.hpp
index 2c3b8e2..f51925c 100644
--- a/src/native/d3d/D3dCtx.hpp
+++ b/src/native/d3d/D3dCtx.hpp
@@ -45,11 +45,24 @@ typedef struct _D3DVERTEX {
float x, y, z;
} D3DVERTEX;
+
typedef struct _D3DTLVERTEX {
float sx, sy, sz, rhw;
float tu, tv;
} D3DTLVERTEX;
+typedef struct _COORDTEXVERTEX {
+ float sx, sy, sz;
+ float tu, tv;
+} COORDTEXVERTEX;
+
+typedef struct _COORDCLRTEXVERTEX {
+ float sx, sy, sz;
+ D3DCOLOR color;
+ float tu, tv;
+} COORDCLRTEXVERTEX;
+
+
typedef vector<LPDIRECT3DRESOURCE9> LPDIRECT3DRESOURCE9Vector;
typedef vector<LPDIRECT3DVERTEXBUFFER9> LPDIRECT3DVERTEXBUFFER9Vector;
//issue 135 iterator for vectors