Go to the documentation of this file. 17 #ifndef D3DVIDEO_DEFINES_H 18 #define D3DVIDEO_DEFINES_H 20 #if defined(DEBUG) || defined(_DEBUG) 21 #define D3D_DEBUG_INFO 24 #if defined(HAVE_D3D9) 31 #define LPDIRECT3D LPDIRECT3D9 32 #define LPDIRECT3DDEVICE LPDIRECT3DDEVICE9 33 #define LPDIRECT3DTEXTURE LPDIRECT3DTEXTURE9 34 #define LPDIRECT3DCUBETEXTURE LPDIRECT3DCUBETEXTURE9 35 #define LPDIRECT3DVERTEXBUFFER LPDIRECT3DVERTEXBUFFER9 36 #define LPDIRECT3DVERTEXSHADER LPDIRECT3DVERTEXSHADER9 37 #define LPDIRECT3DPIXELSHADER LPDIRECT3DPIXELSHADER9 38 #define LPDIRECT3DSURFACE LPDIRECT3DSURFACE9 39 #define LPDIRECT3DVERTEXDECLARATION LPDIRECT3DVERTEXDECLARATION9 40 #define LPDIRECT3DVOLUMETEXTURE LPDIRECT3DVOLUMETEXTURE9 41 #define LPDIRECT3DRESOURCE LPDIRECT3DRESOURCE9 42 #define D3DVERTEXELEMENT D3DVERTEXELEMENT9 43 #define D3DVIEWPORT D3DVIEWPORT9 46 #ifndef D3DCREATE_SOFTWARE_VERTEXPROCESSING 47 #define D3DCREATE_SOFTWARE_VERTEXPROCESSING 0 50 #elif defined(HAVE_D3D8) 55 #include "../gfx/include/d3d8/d3d8.h" 61 #define LPDIRECT3D LPDIRECT3D8 62 #define LPDIRECT3DDEVICE LPDIRECT3DDEVICE8 63 #define LPDIRECT3DTEXTURE LPDIRECT3DTEXTURE8 64 #define LPDIRECT3DCUBETEXTURE LPDIRECT3DCUBETEXTURE8 65 #define LPDIRECT3DVOLUMETEXTURE LPDIRECT3DVOLUMETEXTURE8 66 #define LPDIRECT3DVERTEXBUFFER LPDIRECT3DVERTEXBUFFER8 67 #define LPDIRECT3DVERTEXDECLARATION (void*) 68 #define LPDIRECT3DSURFACE LPDIRECT3DSURFACE8 69 #define LPDIRECT3DRESOURCE LPDIRECT3DRESOURCE8 70 #define D3DVERTEXELEMENT D3DVERTEXELEMENT8 71 #define D3DVIEWPORT D3DVIEWPORT8 74 #if !defined(D3DLOCK_NOSYSLOCK) && defined(_XBOX) 75 #define D3DLOCK_NOSYSLOCK (0) 79 #define D3DSAMP_ADDRESSU D3DTSS_ADDRESSU 80 #define D3DSAMP_ADDRESSV D3DTSS_ADDRESSV 81 #define D3DSAMP_MAGFILTER D3DTSS_MAGFILTER 82 #define D3DSAMP_MINFILTER D3DTSS_MINFILTER