<RenderConst>
	<RenderState>
		<D3DRS_ZENABLE TYPE="7" TYPEENUM = "ENUM">
			<D3DZB_FALSE TYPE = "0"/>
			<D3DZB_TRUE TYPE = "1"/>
			<D3DZB_USEW TYPE = "2"/>
		</D3DRS_ZENABLE>
		<D3DRS_FILLMODE TYPE = "8" TYPEENUM = "ENUM">
			<D3DFILL_POINT TYPE = "1"/>
			<D3DFILL_WIREFRAME TYPE = "2"/>
			<D3DFILL_SOLID TYPE = "3"/>
		</D3DRS_FILLMODE>
		<D3DRS_SHADEMODE TYPE = "9" TYPEENUM = "ENUM">
			<D3DSHADE_FLAT TYPE = "1"/>
			<D3DSHADE_GOURAUD TYPE = "2"/>
			<D3DSHADE_PHONG TYPE = "3"/>
		</D3DRS_SHADEMODE>
		<D3DRS_ZWRITEENABLE TYPE = "14" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_ZWRITEENABLE>
		<D3DRS_ALPHATESTENABLE TYPE = "15" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_ALPHATESTENABLE>
		<D3DRS_LASTPIXEL TYPE = "16" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_LASTPIXEL>
		<D3DRS_SRCBLEND TYPE = "19" TYPEENUM = "ENUM">
			<D3DBLEND_ZERO TYPE = "1"/>
			<D3DBLEND_ONE TYPE = "2"/>
			<D3DBLEND_SRCCOLOR TYPE = "3"/>
			<D3DBLEND_INVSRCCOLOR TYPE = "4"/>
			<D3DBLEND_SRCALPHA TYPE = "5"/>
			<D3DBLEND_INVSRCALPHA TYPE = "6"/>
			<D3DBLEND_DESTALPHA TYPE = "7"/>
			<D3DBLEND_INVDESTALPHA TYPE = "8"/>
			<D3DBLEND_DESTCOLOR TYPE = "9"/>
			<D3DBLEND_INVDESTCOLOR TYPE = "10"/>
			<D3DBLEND_SRCALPHASAT TYPE = "11"/>
			<D3DBLEND_BOTHSRCALPHA TYPE = "12"/>
			<D3DBLEND_BOTHINVSRCALPHA TYPE = "13"/>
			<D3DBLEND_BLENDFACTOR TYPE = "14"/>
			<D3DBLEND_INVBLENDFACTOR TYPE = "15"/>
		</D3DRS_SRCBLEND>
		<D3DRS_DESTBLEND TYPE = "20" TYPEENUM = "ENUM">
			<D3DBLEND_ZERO TYPE = "1"/>
			<D3DBLEND_ONE TYPE = "2"/>
			<D3DBLEND_SRCCOLOR TYPE = "3"/>
			<D3DBLEND_INVSRCCOLOR TYPE = "4"/>
			<D3DBLEND_SRCALPHA TYPE = "5"/>
			<D3DBLEND_INVSRCALPHA TYPE = "6"/>
			<D3DBLEND_DESTALPHA TYPE = "7"/>
			<D3DBLEND_INVDESTALPHA TYPE = "8"/>
			<D3DBLEND_DESTCOLOR TYPE = "9"/>
			<D3DBLEND_INVDESTCOLOR TYPE = "10"/>
			<D3DBLEND_SRCALPHASAT TYPE = "11"/>
			<D3DBLEND_BOTHSRCALPHA TYPE = "12"/>
			<D3DBLEND_BOTHINVSRCALPHA TYPE = "13"/>
			<D3DBLEND_BLENDFACTOR TYPE = "14"/>
			<D3DBLEND_INVBLENDFACTOR TYPE = "15"/>
		</D3DRS_DESTBLEND>
		<D3DRS_CULLMODE TYPE = "22" TYPEENUM = "ENUM">
			<D3DCULL_NONE TYPE = "1"/>
			<D3DCULL_CW TYPE = "2"/>
			<D3DCULL_CCW TYPE = "3"/>
		</D3DRS_CULLMODE>
		<D3DRS_ZFUNC TYPE = "23" TYPEENUM = "ENUM">
			<D3DCMP_NEVER TYPE = "1"/>
			<D3DCMP_LESS TYPE = "2"/>
			<D3DCMP_EQUAL TYPE = "3"/>
			<D3DCMP_LESSEQUAL TYPE = "4"/>
			<D3DCMP_GREATER TYPE = "5"/>
			<D3DCMP_NOTEQUAL TYPE = "6"/>
			<D3DCMP_GREATEREQUAL TYPE = "7"/>
			<D3DCMP_ALWAYS TYPE = "8"/>
		</D3DRS_ZFUNC>
		<D3DRS_ALPHAREF TYPE = "24" TYPEENUM = "DWORD"/>
		<D3DRS_ALPHAFUNC TYPE = "25" TYPEENUM = "ENUM">
			<D3DCMP_NEVER TYPE = "1"/>
			<D3DCMP_LESS TYPE = "2"/>
			<D3DCMP_EQUAL TYPE = "3"/>
			<D3DCMP_LESSEQUAL TYPE = "4"/>
			<D3DCMP_GREATER TYPE = "5"/>
			<D3DCMP_NOTEQUAL TYPE = "6"/>
			<D3DCMP_GREATEREQUAL TYPE = "7"/>
			<D3DCMP_ALWAYS TYPE = "8"/>
		</D3DRS_ALPHAFUNC>
		<D3DRS_DITHERENABLE TYPE = "26" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_DITHERENABLE>
		<D3DRS_ALPHABLENDENABLE TYPE = "27" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_ALPHABLENDENABLE>
		<D3DRS_FOGENABLE TYPE = "28" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_FOGENABLE>
		<D3DRS_SPECULARENABLE TYPE = "29" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_SPECULARENABLE>
		<D3DRS_FOGCOLOR TYPE = "34" TYPEENUM = "DWORD"/>
		<D3DRS_FOGTABLEMODE TYPE = "35" TYPEENUM = "ENUM">
			<D3DFOG_NONE TYPE = "0"/>
			<D3DFOG_EXP TYPE = "1"/>
			<D3DFOG_EXP2 TYPE = "2"/>
			<D3DFOG_LINEAR TYPE = "3"/>
		</D3DRS_FOGTABLEMODE>
		<D3DRS_FOGSTART TYPE = "36" TYPEENUM = "FLOAT"/>
		<D3DRS_FOGEND TYPE = "37" TYPEENUM = "FLOAT"/>
		<D3DRS_FOGDENSITY TYPE = "38" TYPEENUM = "FLOAT"/>
		<D3DRS_RANGEFOGENABLE TYPE = "48" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_RANGEFOGENABLE>
		<D3DRS_STENCILENABLE TYPE = "52" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_STENCILENABLE>
		<D3DRS_STENCILFAIL TYPE = "53" TYPEENUM = "ENUM">
			<D3DSTENCILCAPS_KEEP TYPE = "0x00000001"/>
			<D3DSTENCILCAPS_ZERO TYPE = "0x00000002"/>
			<D3DSTENCILCAPS_REPLACE TYPE = "0x00000004"/>
			<D3DSTENCILCAPS_INCRSAT TYPE = "0x00000008"/>
			<D3DSTENCILCAPS_DECRSAT TYPE = "0x00000010"/>
			<D3DSTENCILCAPS_INVERT TYPE = "0x00000020"/>
			<D3DSTENCILCAPS_INCR TYPE = "0x00000040"/>
			<D3DSTENCILCAPS_DECR TYPE = "0x00000080"/>
		</D3DRS_STENCILFAIL>
		<D3DRS_STENCILZFAIL TYPE = "54" TYPEENUM = "ENUM">
			<D3DSTENCILCAPS_KEEP TYPE = "0x00000001"/>
			<D3DSTENCILCAPS_ZERO TYPE = "0x00000002"/>
			<D3DSTENCILCAPS_REPLACE TYPE = "0x00000004"/>
			<D3DSTENCILCAPS_INCRSAT TYPE = "0x00000008"/>
			<D3DSTENCILCAPS_DECRSAT TYPE = "0x00000010"/>
			<D3DSTENCILCAPS_INVERT TYPE = "0x00000020"/>
			<D3DSTENCILCAPS_INCR TYPE = "0x00000040"/>
			<D3DSTENCILCAPS_DECR TYPE = "0x00000080"/>
		</D3DRS_STENCILZFAIL>
		<D3DRS_STENCILPASS TYPE = "55" TYPEENUM = "ENUM">
			<D3DSTENCILCAPS_KEEP TYPE = "0x00000001"/>
			<D3DSTENCILCAPS_ZERO TYPE = "0x00000002"/>
			<D3DSTENCILCAPS_REPLACE TYPE = "0x00000004"/>
			<D3DSTENCILCAPS_INCRSAT TYPE = "0x00000008"/>
			<D3DSTENCILCAPS_DECRSAT TYPE = "0x00000010"/>
			<D3DSTENCILCAPS_INVERT TYPE = "0x00000020"/>
			<D3DSTENCILCAPS_INCR TYPE = "0x00000040"/>
			<D3DSTENCILCAPS_DECR TYPE = "0x00000080"/>
		</D3DRS_STENCILPASS>
		<D3DRS_STENCILFUNC TYPE = "56" TYPEENUM = "ENUM">
			<D3DCMP_NEVER TYPE = "1"/>
			<D3DCMP_LESS TYPE = "2"/>
			<D3DCMP_EQUAL TYPE = "3"/>
			<D3DCMP_LESSEQUAL TYPE = "4"/>
			<D3DCMP_GREATER TYPE = "5"/>
			<D3DCMP_NOTEQUAL TYPE = "6"/>
			<D3DCMP_GREATEREQUAL TYPE = "7"/>
			<D3DCMP_ALWAYS TYPE = "8"/>
		</D3DRS_STENCILFUNC>
		<D3DRS_STENCILREF TYPE = "57" TYPEENUM = "DWORD"/>
		<D3DRS_STENCILMASK  TYPE = "58" TYPEENUM = "DWORD"/>
		<D3DRS_STENCILWRITEMASK TYPE = "59" TYPEENUM = "DWORD"/>
		<D3DRS_TEXTUREFACTOR TYPE = "60" TYPEENUM = "DWORD"/>
		<D3DRS_WRAP0 TYPE = "128" TYPEENUM = "ENUM">
			<D3DWRAP_U TYPE ="0x00000001"/>
			<D3DWRAP_V TYPE = "0x00000002"/>
			<D3DWRAP_W TYPE = "0x00000004"/>
		</D3DRS_WRAP0>
		<D3DRS_WRAP1 TYPE = "129" TYPEENUM = "ENUM">
			<D3DWRAP_U TYPE ="0x00000001"/>
			<D3DWRAP_V TYPE = "0x00000002"/>
			<D3DWRAP_W TYPE = "0x00000004"/>
		</D3DRS_WRAP1>
		<D3DRS_WRAP2 TYPE = "130" TYPEENUM = "ENUM">
			<D3DWRAP_U TYPE ="0x00000001"/>
			<D3DWRAP_V TYPE = "0x00000002"/>
			<D3DWRAP_W TYPE = "0x00000004"/>
		</D3DRS_WRAP2>
		<D3DRS_WRAP3 TYPE = "131" TYPEENUM = "ENUM">
			<D3DWRAP_U TYPE ="0x00000001"/>
			<D3DWRAP_V TYPE = "0x00000002"/>
			<D3DWRAP_W TYPE = "0x00000004"/>
		</D3DRS_WRAP3>
		<D3DRS_WRAP4 TYPE = "132" TYPEENUM = "ENUM">
			<D3DWRAP_U TYPE ="0x00000001"/>
			<D3DWRAP_V TYPE = "0x00000002"/>
			<D3DWRAP_W TYPE = "0x00000004"/>
		</D3DRS_WRAP4>
		<D3DRS_WRAP5 TYPE = "133" TYPEENUM = "ENUM">
			<D3DWRAP_U TYPE ="0x00000001"/>
			<D3DWRAP_V TYPE = "0x00000002"/>
			<D3DWRAP_W TYPE = "0x00000004"/>
		</D3DRS_WRAP5>
		<D3DRS_WRAP6 TYPE = "134" TYPEENUM = "ENUM">
			<D3DWRAP_U TYPE ="0x00000001"/>
			<D3DWRAP_V TYPE = "0x00000002"/>
			<D3DWRAP_W TYPE = "0x00000004"/>
		</D3DRS_WRAP6>
		<D3DRS_WRAP7 TYPE = "135" TYPEENUM = "ENUM">
			<D3DWRAP_U TYPE ="0x00000001"/>
			<D3DWRAP_V TYPE = "0x00000002"/>
			<D3DWRAP_W TYPE = "0x00000004"/>
		</D3DRS_WRAP7>
		<D3DRS_CLIPPING TYPE = "136" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_CLIPPING>
		<D3DRS_LIGHTING TYPE = "137" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_LIGHTING>
		<D3DRS_AMBIENT TYPE = "139" TYPEENUM = "DWORD"/>
		<D3DRS_FOGVERTEXMODE TYPE = "140" TYPEENUM = "ENUM">
			<D3DFOG_NONE TYPE = "0"/>
			<D3DFOG_EXP TYPE = "1"/>
			<D3DFOG_EXP2 TYPE = "2"/>
			<D3DFOG_LINEAR TYPE = "3"/>
		</D3DRS_FOGVERTEXMODE>
		<D3DRS_COLORVERTEX TYPE = "141" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_COLORVERTEX>
		<D3DRS_LOCALVIEWER TYPE = "142" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_LOCALVIEWER>
		<D3DRS_NORMALIZENORMALS TYPE = "143" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_NORMALIZENORMALS>
		<D3DRS_DIFFUSEMATERIALSOURCE TYPE = "145" TYPEENUM = "ENUM">
			<D3DMCS_MATERIAL TYPE = "0"/>
			<D3DMCS_COLOR1 TYPE = "1"/>
			<D3DMCS_COLOR2 TYPE = "2"/>
		</D3DRS_DIFFUSEMATERIALSOURCE>
		<D3DRS_SPECULARMATERIALSOURCE TYPE = "146" TYPEENUM = "ENUM">
			<D3DMCS_MATERIAL TYPE = "0"/>
			<D3DMCS_COLOR1 TYPE = "1"/>
			<D3DMCS_COLOR2 TYPE = "2"/>
		</D3DRS_SPECULARMATERIALSOURCE>
		<D3DRS_AMBIENTMATERIALSOURCE TYPE = "147" TYPEENUM = "ENUM">
			<D3DMCS_MATERIAL TYPE = "0"/>
			<D3DMCS_COLOR1 TYPE = "1"/>
			<D3DMCS_COLOR2 TYPE = "2"/>
		</D3DRS_AMBIENTMATERIALSOURCE>
		<D3DRS_EMISSIVEMATERIALSOURCE TYPE = "148" TYPEENUM = "ENUM">
			<D3DMCS_MATERIAL TYPE = "0"/>
			<D3DMCS_COLOR1 TYPE = "1"/>
			<D3DMCS_COLOR2 TYPE = "2"/>
		</D3DRS_EMISSIVEMATERIALSOURCE>
		<D3DRS_VERTEXBLEND TYPE = "151" TYPEENUM = "ENUM">
			<D3DVBF_DISABLE TYPE = "0"/>
			<D3DVBF_1WEIGHTS TYPE = "1"/>
			<D3DVBF_2WEIGHTS TYPE = "2"/>
			<D3DVBF_3WEIGHTS TYPE = "3"/>
			<D3DVBF_TWEENING TYPE= "255"/>
			<D3DVBF_0WEIGHTS TYPE = "256"/>
		</D3DRS_VERTEXBLEND>
		<D3DRS_CLIPPLANEENABLE TYPE = "152" TYPEENUM = "ENUM">
			<D3DCLIPPLANE0 TYPE = "0x00000001"/>
			<D3DCLIPPLANE1 TYPE = "0x00000002"/>
			<D3DCLIPPLANE2 TYPE = "0x00000004"/>
			<D3DCLIPPLANE3 TYPE = "0x00000008"/>
			<D3DCLIPPLANE4 TYPE = "0x00000010"/>
			<D3DCLIPPLANE5 TYPE = "0x00000020"/>
		</D3DRS_CLIPPLANEENABLE>
		<D3DRS_POINTSIZE TYPE = "154" TYPEENUM = "FLOAT"/>
		<D3DRS_POINTSIZE_MIN TYPE = "155" TYPEENUM = "FLOAT"/>
		<D3DRS_POINTSPRITEENABLE TYPE = "156" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_POINTSPRITEENABLE>
		<D3DRS_POINTSCALEENABLE TYPE = "157" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_POINTSCALEENABLE>
		<D3DRS_POINTSCALE_A TYPE = "158" TYPEENUM = "FLOAT"/>
		<D3DRS_POINTSCALE_B TYPE = "159" TYPEENUM = "FLOAT"/>
		<D3DRS_POINTSCALE_C TYPE = "160" TYPEENUM = "FLOAT"/>
		<D3DRS_MULTISAMPLEANTIALIAS TYPE = "161" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_MULTISAMPLEANTIALIAS>
		<D3DRS_MULTISAMPLEMASK TYPE = "162" TYPEENUM = "DWORD"/>
		<D3DRS_PATCHEDGESTYLE TYPE = "163" TYPEENUM = "ENUM">
			<D3DPATCHEDGE_DISCRETE TYPE = "0"/>
			<D3DPATCHEDGE_CONTINUOS TYPE = "1"/>
		</D3DRS_PATCHEDGESTYLE>
		<D3DRS_DEBUGMONITORTOKEN TYPE = "165" TYPEENUM = "ENUM">
			<D3DDMT_ENABLE TYPE = "0"/>
			<D3DDMT_DISABLE TYPE = "1"/>
		</D3DRS_DEBUGMONITORTOKEN>
		<D3DRS_POINTSIZE_MAX TYPE = "166" TYPEENUM = "FLOAT"/>
		<D3DRS_INDEXEDVERTEXBLENDENABLE TYPE = "167" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_INDEXEDVERTEXBLENDENABLE>
		<D3DRS_COLORWRITEENABLE TYPE = "168" TYPEENUM = "ENUM">
			<D3DCOLORWRITEENABLE_RED TYPE = "0x00000001"/>
			<D3DCOLORWRITEENABLE_GREEN TYPE = "0x00000002"/>
			<D3DCOLORWRITEENABLE_BLUE TYPE = "0x00000004"/>
			<D3DCOLORWRITEENABLE_ALPHA TYPE = "0x00000008"/>
		</D3DRS_COLORWRITEENABLE>
		<D3DRS_TWEENFACTOR TYPE = "170" TYPEENUM = "FLOAT"/>
		<D3DRS_BLENDOP TYPE = "171" TYPEENUM = "ENUM">
			<D3DBLENDOP_ADD TYPE = "1"/>
			<D3DBLENDOP_SUBTRACT TYPE = "2"/>
			<D3DBLENDOP_REVSUBTRACT TYPE = "3"/>
			<D3DBLENDOP_MIN TYPE = "4"/>
			<D3DBLENDOP_MAX TYPE = "5"/>
		</D3DRS_BLENDOP>
		<D3DRS_POSITIONDEGREE TYPE = "172" TYPEENUM = "ENUM">
			<D3DDEGREE_LINEAR TYPE = "1"/>
			<D3DDEGREE_QUADRATIC TYPE = "2"/>
			<D3DDEGREE_CUBIC TYPE = "3"/>
			<D3DDEGREE_QUINTIC TYPE = "5"/>
		</D3DRS_POSITIONDEGREE>
		<D3DRS_NORMALDEGREE TYPE = "173" TYPEENUM = "ENUM">
			<D3DDEGREE_LINEAR TYPE = "1"/>
			<D3DDEGREE_QUADRATIC TYPE = "2"/>
			<D3DDEGREE_CUBIC TYPE = "3"/>
			<D3DDEGREE_QUINTIC TYPE = "5"/>
		</D3DRS_NORMALDEGREE>
		<D3DRS_SCISSORTESTENABLE TYPE = "174" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_SCISSORTESTENABLE>
		<D3DRS_SLOPESCALEDEPTHBIAS TYPE = "175" TYPEENUM = "FLOAT"/>
		<D3DRS_ANTIALIASEDLINEENABLE TYPE = "176" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_ANTIALIASEDLINEENABLE>
		<D3DRS_MINTESSELLATIONLEVEL TYPE = "178" TYPEENUM = "FLOAT"/>
		<D3DRS_MAXTESSELLATIONLEVEL TYPE = "179" TYPEENUM = "FLOAT"/>
		<D3DRS_ADAPTIVETESS_X TYPE = "180" TYPEENUM = "FLOAT"/>
		<D3DRS_ADAPTIVETESS_Y TYPE = "181" TYPEENUM = "FLOAT"/>
		<D3DRS_ADAPTIVETESS_Z TYPE = "182" TYPEENUM = "FLOAT"/>
		<D3DRS_ADAPTIVETESS_W TYPE = "183" TYPEENUM = "FLOAT"/>
		<D3DRS_ENABLEADAPTIVETESSELATION TYPE = "184" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_ENABLEADAPTIVETESSELATION>
		<D3DRS_TWOSIDEDSTENCILMODE TYPE = "185" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_TWOSIDEDSTENCILMODE>
		<D3DRS_CCW_STENCILFAIL TYPE = "186" TYPEENUM = "DWORD"/>
		<D3DRS_CCW_STENCILZFAIL TYPE = "187" TYPEENUM = "DWORD"/>
 		<D3DRS_CCW_STENCILPASS TYPE = "188" TYPEENUM = "DWORD"/>
		<D3DRS_CCW_STENCILFUNC TYPE = "189" TYPEENUM = "DWORD"/>
		<D3DRS_COLORWRITEENABLE1 TYPE = "190" TYPEENUM = "ENUM">
			<D3DCOLORWRITEENABLE_RED TYPE = "0x00000001"/>
			<D3DCOLORWRITEENABLE_GREEN TYPE = "0x00000002"/>
			<D3DCOLORWRITEENABLE_BLUE TYPE = "0x00000004"/>
			<D3DCOLORWRITEENABLE_ALPHA TYPE = "0x00000008"/>
		</D3DRS_COLORWRITEENABLE1>
		<D3DRS_COLORWRITEENABLE2 TYPE = "191" TYPEENUM = "ENUM">
			<D3DCOLORWRITEENABLE_RED TYPE = "0x00000001"/>
			<D3DCOLORWRITEENABLE_GREEN TYPE = "0x00000002"/>
			<D3DCOLORWRITEENABLE_BLUE TYPE = "0x00000004"/>
			<D3DCOLORWRITEENABLE_ALPHA TYPE = "0x00000008"/>
		</D3DRS_COLORWRITEENABLE2>
		<D3DRS_COLORWRITEENABLE3 TYPE = "192" TYPEENUM = "ENUM">
			<D3DCOLORWRITEENABLE_RED TYPE = "0x00000001"/>
			<D3DCOLORWRITEENABLE_GREEN TYPE = "0x00000002"/>
			<D3DCOLORWRITEENABLE_BLUE TYPE = "0x00000004"/>
			<D3DCOLORWRITEENABLE_ALPHA TYPE = "0x00000008"/>
		</D3DRS_COLORWRITEENABLE3>
		<D3DRS_BLENDFACTOR TYPE = "193" TYPEENUM = "DWORD"/>
		<D3DRS_SRGBWRITEENABLE TYPE = "194" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_SRGBWRITEENABLE>
		<D3DRS_DEPTHBIAS TYPE = "195" TYPEENUM = "FLOAT"/>
		<D3DRS_WRAP8 TYPE = "198" TYPEENUM = "ENUM">
			<D3DWRAP_U TYPE ="0x00000001"/>
			<D3DWRAP_V TYPE = "0x00000002"/>
			<D3DWRAP_W TYPE = "0x00000004"/>
		</D3DRS_WRAP8>
		<D3DRS_WRAP9 TYPE = "199" TYPEENUM = "ENUM">
			<D3DWRAP_U TYPE ="0x00000001"/>
			<D3DWRAP_V TYPE = "0x00000002"/>
			<D3DWRAP_W TYPE = "0x00000004"/>
		</D3DRS_WRAP9>
		<D3DRS_WRAP10 TYPE = "200" TYPEENUM = "ENUM">
			<D3DWRAP_U TYPE ="0x00000001"/>
			<D3DWRAP_V TYPE = "0x00000002"/>
			<D3DWRAP_W TYPE = "0x00000004"/>
		</D3DRS_WRAP10>
		<D3DRS_WRAP11 TYPE = "201" TYPEENUM = "ENUM">
			<D3DWRAP_U TYPE ="0x00000001"/>
			<D3DWRAP_V TYPE = "0x00000002"/>
			<D3DWRAP_W TYPE = "0x00000004"/>
		</D3DRS_WRAP11>
		<D3DRS_WRAP12 TYPE = "202" TYPEENUM = "ENUM">
			<D3DWRAP_U TYPE ="0x00000001"/>
			<D3DWRAP_V TYPE = "0x00000002"/>
			<D3DWRAP_W TYPE = "0x00000004"/>
		</D3DRS_WRAP12>
		<D3DRS_WRAP13 TYPE = "203" TYPEENUM = "ENUM">
			<D3DWRAP_U TYPE ="0x00000001"/>
			<D3DWRAP_V TYPE = "0x00000002"/>
			<D3DWRAP_W TYPE = "0x00000004"/>
		</D3DRS_WRAP13>
		<D3DRS_WRAP14 TYPE = "204" TYPEENUM = "ENUM">
			<D3DWRAP_U TYPE ="0x00000001"/>
			<D3DWRAP_V TYPE = "0x00000002"/>
			<D3DWRAP_W TYPE = "0x00000004"/>
		</D3DRS_WRAP14>
		<D3DRS_WRAP15 TYPE = "205" TYPEENUM = "ENUM">
			<D3DWRAP_U TYPE ="0x00000001"/>
			<D3DWRAP_V TYPE = "0x00000002"/>
			<D3DWRAP_W TYPE = "0x00000004"/>
		</D3DRS_WRAP15>
		<D3DRS_SEPARATEALPHABLENDENABLE TYPE = "206" TYPEENUM = "ENUM">
			<FALSE TYPE = "0"/>
			<TRUE TYPE = "1"/>
		</D3DRS_SEPARATEALPHABLENDENABLE>
		<D3DRS_SRCBLENDALPHA TYPE = "207" TYPEENUM = "ENUM">
			<D3DBLEND_ZERO TYPE = "1"/>
			<D3DBLEND_ONE TYPE = "2"/>
			<D3DBLEND_SRCCOLOR TYPE = "3"/>
			<D3DBLEND_INVSRCCOLOR TYPE = "4"/>
			<D3DBLEND_SRCALPHA TYPE = "5"/>
			<D3DBLEND_INVSRCALPHA TYPE = "6"/>
			<D3DBLEND_DESTALPHA TYPE = "7"/>
			<D3DBLEND_INVDESTALPHA TYPE = "8"/>
			<D3DBLEND_DESTCOLOR TYPE = "9"/>
			<D3DBLEND_INVDESTCOLOR TYPE = "10"/>
			<D3DBLEND_SRCALPHASAT TYPE = "11"/>
			<D3DBLEND_BOTHSRCALPHA TYPE = "12"/>
			<D3DBLEND_BOTHINVSRCALPHA TYPE = "13"/>
			<D3DBLEND_BLENDFACTOR TYPE = "14"/>
			<D3DBLEND_INVBLENDFACTOR TYPE = "15"/>
		</D3DRS_SRCBLENDALPHA>
		<D3DRS_DESTBLENDALPHA TYPE = "208" TYPEENUM = "ENUM">
			<D3DBLEND_ZERO TYPE = "1"/>
			<D3DBLEND_ONE TYPE = "2"/>
			<D3DBLEND_SRCCOLOR TYPE = "3"/>
			<D3DBLEND_INVSRCCOLOR TYPE = "4"/>
			<D3DBLEND_SRCALPHA TYPE = "5"/>
			<D3DBLEND_INVSRCALPHA TYPE = "6"/>
			<D3DBLEND_DESTALPHA TYPE = "7"/>
			<D3DBLEND_INVDESTALPHA TYPE = "8"/>
			<D3DBLEND_DESTCOLOR TYPE = "9"/>
			<D3DBLEND_INVDESTCOLOR TYPE = "10"/>
			<D3DBLEND_SRCALPHASAT TYPE = "11"/>
			<D3DBLEND_BOTHSRCALPHA TYPE = "12"/>
			<D3DBLEND_BOTHINVSRCALPHA TYPE = "13"/>
			<D3DBLEND_BLENDFACTOR TYPE = "14"/>
			<D3DBLEND_INVBLENDFACTOR TYPE = "15"/>
		</D3DRS_DESTBLENDALPHA>
		<D3DRS_BLENDOPALPHA TYPE = "209" TYPEENUM = "ENUM">
			<D3DBLENDOP_ADD TYPE = "1"/>
			<D3DBLENDOP_SUBTRACT TYPE = "2"/>
			<D3DBLENDOP_REVSUBTRACT TYPE = "3"/>
			<D3DBLENDOP_MIN TYPE = "4"/>
			<D3DBLENDOP_MAX TYPE = "5"/>
		</D3DRS_BLENDOPALPHA>
	</RenderState>
	<SamplerState>
		<D3DSAMP_ADDRESSU TYPE = "1" TYPEENUM = "ENUM">
			<D3DTADDRESS_WRAP TYPE = "1"/>
			<D3DTADDRESS_MIRROR TYPE = "2"/>
			<D3DTADDRESS_CLAMP TYPE = "3"/>
			<D3DTADDRESS_BORDER TYPE = "4"/>
			<D3DTADDRESS_MIRRORONCE TYPE = "5"/>
		</D3DSAMP_ADDRESSU>
		<D3DSAMP_ADDRESSV TYPE = "2" TYPEENUM = "ENUM">
			<D3DTADDRESS_WRAP TYPE = "1"/>
			<D3DTADDRESS_MIRROR TYPE = "2"/>
			<D3DTADDRESS_CLAMP TYPE = "3"/>
			<D3DTADDRESS_BORDER TYPE = "4"/>
			<D3DTADDRESS_MIRRORONCE TYPE = "5"/>
		</D3DSAMP_ADDRESSV>
		<D3DSAMP_ADDRESSW TYPE = "3" TYPEENUM = "ENUM">
			<D3DTADDRESS_WRAP TYPE = "1"/>
			<D3DTADDRESS_MIRROR TYPE = "2"/>
			<D3DTADDRESS_CLAMP TYPE = "3"/>
			<D3DTADDRESS_BORDER TYPE = "4"/>
			<D3DTADDRESS_MIRRORONCE TYPE = "5"/>
		</D3DSAMP_ADDRESSW>
		<D3DSAMP_BORDERCOLOR TYPE = "4" TYPEENUM = "DWORD"/>
		<D3DSAMP_MAGFILTER TYPE = "5" TYPEENUM = "ENUM">
			<D3DTEXF_NONE TYPE = "0"/>
			<D3DTEXF_POINT TYPE = "1"/>
			<D3DTEXF_LINEAR TYPE = "2"/>
			<D3DTEXF_ANISOTROPIC TYPE = "3"/>
			<D3DTEXF_PYRAMIDALQUAD TYPE = "6"/>
			<D3DTEXF_GAUSSIANQUAD TYPE = "7"/>
		</D3DSAMP_MAGFILTER>
		<D3DSAMP_MINFILTER TYPE = "6" TYPEENUM = "ENUM">
			<D3DTEXF_NONE TYPE = "0"/>
			<D3DTEXF_POINT TYPE = "1"/>
			<D3DTEXF_LINEAR TYPE = "2"/>
			<D3DTEXF_ANISOTROPIC TYPE = "3"/>
			<D3DTEXF_PYRAMIDALQUAD TYPE = "6"/>
			<D3DTEXF_GAUSSIANQUAD TYPE = "7"/>
		</D3DSAMP_MINFILTER>
		<D3DSAMP_MIPFILTER TYPE = "7" TYPEENUM = "ENUM">
			<D3DTEXF_NONE TYPE = "0"/>
			<D3DTEXF_POINT TYPE = "1"/>
			<D3DTEXF_LINEAR TYPE = "2"/>
			<D3DTEXF_ANISOTROPIC TYPE = "3"/>
			<D3DTEXF_PYRAMIDALQUAD TYPE = "6"/>
			<D3DTEXF_GAUSSIANQUAD TYPE = "7"/>
		</D3DSAMP_MIPFILTER>
		<D3DSAMP_MIPMAPLODBIAS TYPE = "8" TYPEENUM = "DWORD"/>
		<D3DSAMP_MAXMIPLEVEL TYPE = "9" TYPEENUM = "DWORD"/>
		<D3DSAMP_MAXANISOTROPY TYPE = "10" TYPEENUM = "DWORD"/>
		<D3DSAMP_SRGBTEXTURE TYPE = "11" TYPEENUM = "FLOAT"/>
		<D3DSAMP_ELEMENTINDEX TYPE = "12" TYPEENUM = "DWORD"/>
		<D3DSAMP_DMAPOFFSET TYPE = "13" TYPEENUM = "DWORD"/>
	</SamplerState>
	<TextureStageState>
		<D3DTSS_COLOROP TYPE = "1" TYPEENUM = "ENUM">
			<D3DTOP_DISABLE TYPE = "1"/>
			<D3DTOP_SELECTARG1 TYPE = "2"/>
			<D3DTOP_SELECTARG2 TYPE = "3"/>
			<D3DTOP_MODULATE TYPE = "4"/>
			<D3DTOP_MODULATE2X TYPE = "5"/>
			<D3DTOP_MODULATE4X TYPE = "6"/>
			<D3DTOP_ADD TYPE = "7"/>
			<D3DTOP_ADDSIGNED TYPE = "8"/>
			<D3DTOP_ADDSIGNED2X TYPE = "9"/>
			<D3DTOP_SUBTRACT TYPE = "10"/>
			<D3DTOP_ADDSMOOTH TYPE = "11"/>
			<D3DTOP_BLENDDIFFUSEALPHA TYPE = "12"/>
			<D3DTOP_BLENDTEXTUREALPHA TYPE = "13"/>
			<D3DTOP_BLENDFACTORALPHA TYPE = "14"/>
			<D3DTOP_BLENDTEXTUREALPHAPM TYPE = "15"/>
			<D3DTOP_BLENDCURRENTALPHA TYPE= "16"/>
			<D3DTOP_PREMODULATE TYPE = "17"/>
			<D3DTOP_MODULATEALPHA_ADDCOLOR TYPE = "18"/>
			<D3DTOP_MODULATECOLOR_ADDALPHA TYPE = "19"/>
			<D3DTOP_MODULATEINVALPHA_ADDCOLOR TYPE = "20"/>
			<D3DTOP_MODULATEINVCOLOR_ADDALPHA TYPE = "21"/>
			<D3DTOP_BUMPENVMAP TYPE = "22"/>
			<D3DTOP_BUMPENVMAPLUMINANCE TYPE = "23"/>
			<D3DTOP_DOTPRODUCT3 TYPE = "24"/>
			<D3DTOP_MULTIPLYADD TYPE = "25"/>
			<D3DTOP_LERP TYPE = "26"/>
		</D3DTSS_COLOROP>
		<D3DTSS_COLORARG1 TYPE = "2" TYPEENUM = "ENUM">
			<D3DTA_DIFFUSE TYPE = "0x00000000"/>
			<D3DTA_CURRENT TYPE = "0x00000001"/>
			<D3DTA_TEXTURE TYPE = "0x00000002"/>
			<D3DTA_TFACTOR TYPE = "0x00000003"/> 
			<D3DTA_SPECULAR TYPE = "0x00000004"/>
			<D3DTA_TEMP TYPE = "0x00000005"/>
			<D3DTA_CONSTANT TYPE = "0x00000006"/>
			<D3DTA_SELECTMASK TYPE = "0x0000000f"/>
		</D3DTSS_COLORARG1>
		<D3DTSS_COLORARG2 TYPE = "3" TYPEENUM = "ENUM">
			<D3DTA_DIFFUSE TYPE = "0x00000000"/>
			<D3DTA_CURRENT TYPE = "0x00000001"/>
			<D3DTA_TEXTURE TYPE = "0x00000002"/>
			<D3DTA_TFACTOR TYPE = "0x00000003"/> 
			<D3DTA_SPECULAR TYPE = "0x00000004"/>
			<D3DTA_TEMP TYPE = "0x00000005"/>
			<D3DTA_CONSTANT TYPE = "0x00000006"/>
			<D3DTA_SELECTMASK TYPE = "0x0000000f"/>
		</D3DTSS_COLORARG2>    
		<D3DTSS_ALPHAOP TYPE = "4" TYPEENUM = "ENUM">
			<D3DTOP_DISABLE TYPE = "1"/>
			<D3DTOP_SELECTARG1 TYPE = "2"/>
			<D3DTOP_SELECTARG2 TYPE = "3"/>
			<D3DTOP_MODULATE TYPE = "4"/>
			<D3DTOP_MODULATE2X TYPE = "5"/>
			<D3DTOP_MODULATE4X TYPE = "6"/>
			<D3DTOP_ADD TYPE = "7"/>
			<D3DTOP_ADDSIGNED TYPE = "8"/>
			<D3DTOP_ADDSIGNED2X TYPE = "9"/>
			<D3DTOP_SUBTRACT TYPE = "10"/>
			<D3DTOP_ADDSMOOTH TYPE = "11"/>
			<D3DTOP_BLENDDIFFUSEALPHA TYPE = "12"/>
			<D3DTOP_BLENDTEXTUREALPHA TYPE = "13"/>
			<D3DTOP_BLENDFACTORALPHA TYPE = "14"/>
			<D3DTOP_BLENDTEXTUREALPHAPM TYPE = "15"/>
			<D3DTOP_BLENDCURRENTALPHA TYPE= "16"/>
			<D3DTOP_PREMODULATE TYPE = "17"/>
			<D3DTOP_MODULATEALPHA_ADDCOLOR TYPE = "18"/>
			<D3DTOP_MODULATECOLOR_ADDALPHA TYPE = "19"/>
			<D3DTOP_MODULATEINVALPHA_ADDCOLOR TYPE = "20"/>
			<D3DTOP_MODULATEINVCOLOR_ADDALPHA TYPE = "21"/>
			<D3DTOP_BUMPENVMAP TYPE = "22"/>
			<D3DTOP_BUMPENVMAPLUMINANCE TYPE = "23"/>
			<D3DTOP_DOTPRODUCT3 TYPE = "24"/>
			<D3DTOP_MULTIPLYADD TYPE = "25"/>
			<D3DTOP_LERP TYPE = "26"/>
		</D3DTSS_ALPHAOP>
		<D3DTSS_ALPHAARG1 TYPE = "5" TYPEENUM = "ENUM">
			<D3DTA_DIFFUSE TYPE = "0x00000000"/>
			<D3DTA_CURRENT TYPE = "0x00000001"/>
			<D3DTA_TEXTURE TYPE = "0x00000002"/>
			<D3DTA_TFACTOR TYPE = "0x00000003"/> 
			<D3DTA_SPECULAR TYPE = "0x00000004"/>
			<D3DTA_TEMP TYPE = "0x00000005"/>
			<D3DTA_CONSTANT TYPE = "0x00000006"/>
			<D3DTA_SELECTMASK TYPE = "0x0000000f"/>
		</D3DTSS_ALPHAARG1>
		<D3DTSS_ALPHAARG2 TYPE = "6" TYPEENUM = "ENUM">
			<D3DTA_DIFFUSE TYPE = "0x00000000"/>
			<D3DTA_CURRENT TYPE = "0x00000001"/>
			<D3DTA_TEXTURE TYPE = "0x00000002"/>
			<D3DTA_TFACTOR TYPE = "0x00000003"/> 
			<D3DTA_SPECULAR TYPE = "0x00000004"/>
			<D3DTA_TEMP TYPE = "0x00000005"/>
			<D3DTA_CONSTANT TYPE = "0x00000006"/>
			<D3DTA_SELECTMASK TYPE = "0x0000000f"/>
		</D3DTSS_ALPHAARG2>
		<D3DTSS_BUMPENVMAT00 TYPE = "7" TYPEENUM = "FLOAT"/>
		<D3DTSS_BUMPENVMAT01 TYPE = "8" TYPEENUM = "FLOAT"/>
		<D3DTSS_BUMPENVMAT10 TYPE = "9" TYPEENUM = "FLOAT"/>
		<D3DTSS_BUMPENVMAT11 TYPE = "10" TYPEENUM = "FLOAT"/>
		<D3DTSS_TEXCOORDINDEX TYPE = "11" TYPEENUM = "DWORD"/>
		<D3DTSS_BUMPENVLSCALE TYPE = "22" TYPEENUM = "FLOAT"/>
		<D3DTSS_BUMPENVLOFFSET TYPE = "23" TYPEENUM = "FLOAT"/>
		<D3DTSS_TEXTURETRANSFORMFLAGS TYPE = "24" TYPEENUM = "ENUM">
			<D3DTTFF_DISABLE TYPE = "0"/>
			<D3DTTFF_COUNT1 TYPE = "1"/>
			<D3DTTFF_COUNT2 TYPE = "2"/>
			<D3DTTFF_COUNT3 TYPE = "3"/>
			<D3DTTFF_COUNT4 TYPE = "4"/>
			<D3DTTFF_PROJECTED TYPE = "256"/>
		</D3DTSS_TEXTURETRANSFORMFLAGS>
		<D3DTSS_COLORARG0 TYPE = "26" TYPEENUM = "ENUM">
			<D3DTA_DIFFUSE TYPE = "0x00000000"/>
			<D3DTA_CURRENT TYPE = "0x00000001"/>
			<D3DTA_TEXTURE TYPE = "0x00000002"/>
			<D3DTA_TFACTOR TYPE = "0x00000003"/> 
			<D3DTA_SPECULAR TYPE = "0x00000004"/>
			<D3DTA_TEMP TYPE = "0x00000005"/>
			<D3DTA_CONSTANT TYPE = "0x00000006"/>
			<D3DTA_SELECTMASK TYPE = "0x0000000f"/>
		</D3DTSS_COLORARG0>
		<D3DTSS_ALPHAARG0 TYPE = "27" TYPEENUM = "ENUM">
			<D3DTA_DIFFUSE TYPE = "0x00000000"/>
			<D3DTA_CURRENT TYPE = "0x00000001"/>
			<D3DTA_TEXTURE TYPE = "0x00000002"/>
			<D3DTA_TFACTOR TYPE = "0x00000003"/> 
			<D3DTA_SPECULAR TYPE = "0x00000004"/>
			<D3DTA_TEMP TYPE = "0x00000005"/>
			<D3DTA_CONSTANT TYPE = "0x00000006"/>
			<D3DTA_SELECTMASK TYPE = "0x0000000f"/>
		</D3DTSS_ALPHAARG0>      
		<D3DTSS_RESULTARG TYPE = "28" TYPEENUM = "ENUM">
			<D3DTA_DIFFUSE TYPE = "0x00000000"/>
			<D3DTA_CURRENT TYPE = "0x00000001"/>
			<D3DTA_TEXTURE TYPE = "0x00000002"/>
			<D3DTA_TFACTOR TYPE = "0x00000003"/> 
			<D3DTA_SPECULAR TYPE = "0x00000004"/>
			<D3DTA_TEMP TYPE = "0x00000005"/>
			<D3DTA_CONSTANT TYPE = "0x00000006"/>
			<D3DTA_SELECTMASK TYPE = "0x0000000f"/>
		</D3DTSS_RESULTARG>
		<D3DTSS_CONSTANT TYPE = "32" TYPEENUM = "DWORD"/>
	</TextureStageState>
</RenderConst>