e51996f90bd3f501862ba2552ddc0eb09e6bd782
[genesis3d.git] / G3D / Engine / Drivers / D3D8Drv / D3D_FX.H
1 /****************************************************************************************/\r
2 /*  D3D_Fx.h                                                                            */\r
3 /*                                                                                      */\r
4 /*  Author: John Pollard                                                                */\r
5 /*  Description: D3D renderstate wrapper                                                */\r
6 /*                                                                                      */\r
7 /*  The contents of this file are subject to the Genesis3D Public License               */\r
8 /*  Version 1.01 (the "License"); you may not use this file except in                   */\r
9 /*  compliance with the License. You may obtain a copy of the License at                */\r
10 /*  http://www.genesis3d.com                                                            */\r
11 /*                                                                                      */\r
12 /*  Software distributed under the License is distributed on an "AS IS"                 */\r
13 /*  basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See                */\r
14 /*  the License for the specific language governing rights and limitations              */\r
15 /*  under the License.                                                                  */\r
16 /*                                                                                      */\r
17 /*  The Original Code is Genesis3D, released March 25, 1999.                            */\r
18 /*  Genesis3D Version 1.1 released November 15, 1999                                 */\r
19 /*  Copyright (C) 1999 WildTangent, Inc. All Rights Reserved           */\r
20 /*                                                                                      */\r
21 /****************************************************************************************/\r
22 #ifndef D3D_FX_H\r
23 #define D3D_FX_H\r
24 \r
25 #include <Windows.h>\r
26 #include <DDraw.h>\r
27 #include <D3D.h>\r
28 \r
29 #include "D3D_Main.h"\r
30 #include "DCommon.h"\r
31 \r
32 void D3DSetTexHandle(D3DTEXTUREHANDLE TexHandle);\r
33 void D3DSetTexture(int32 Stage, LPDIRECT3DTEXTURE2 Texture);\r
34 void D3DTexturedPolyOld(void *Pnts, int32 NumPoints);\r
35 void D3DTexturedPoly(void *Pnts, int32 NumPoints);\r
36 \r
37 void D3DBilinearFilter(D3DTEXTUREFILTER Min, D3DTEXTUREFILTER Mag);\r
38 void D3DBlendEnable(BOOL Enable);\r
39 \r
40 void D3DBlendFunc (D3DBLEND SFunc, D3DBLEND DFunc);\r
41 \r
42 void D3DZWriteEnable (BOOL Enable);\r
43 void D3DZFunc (D3DCMPFUNC Func);\r
44 void D3DZEnable(BOOL Enable);\r
45 \r
46 void D3DTexWrap(DWORD Stage, BOOL Wrap);\r
47 \r
48 void D3DPolygonMode (D3DFILLMODE Mode);\r
49 \r
50 void D3DViewport (int32 x, int32 y, int32 width, int32 height);\r
51 void D3DDepthRange (float zNear, float zFar);\r
52 \r
53 #endif\r