1 /****************************************************************************************/
\r
4 /* Author: John Pollard */
\r
5 /* Description: D3D renderstate wrapper */
\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
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
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
21 /****************************************************************************************/
\r
25 #include <Windows.h>
\r
29 #include "D3D_Main.h"
\r
30 #include "DCommon.h"
\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
37 void D3DBilinearFilter(D3DTEXTUREFILTER Min, D3DTEXTUREFILTER Mag);
\r
38 void D3DBlendEnable(BOOL Enable);
\r
40 void D3DBlendFunc (D3DBLEND SFunc, D3DBLEND DFunc);
\r
42 void D3DZWriteEnable (BOOL Enable);
\r
43 void D3DZFunc (D3DCMPFUNC Func);
\r
44 void D3DZEnable(BOOL Enable);
\r
46 void D3DTexWrap(DWORD Stage, BOOL Wrap);
\r
48 void D3DPolygonMode (D3DFILLMODE Mode);
\r
50 void D3DViewport (int32 x, int32 y, int32 width, int32 height);
\r
51 void D3DDepthRange (float zNear, float zFar);
\r