559 lines
24 KiB
HTML
Raw Normal View History

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Sun Apr 15 20:18:20 CEST 2012 -->
<TITLE>
RasterizerState
</TITLE>
<META NAME="date" CONTENT="2012-04-15">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="RasterizerState";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RasterizerState.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../Microsoft/Xna/Framework/Graphics/PrimitiveType.html" title="enum in Microsoft.Xna.Framework.Graphics"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../Microsoft/Xna/Framework/Graphics/RenderTarget2D.html" title="class in Microsoft.Xna.Framework.Graphics"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?Microsoft/Xna/Framework/Graphics/RasterizerState.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="RasterizerState.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
Microsoft.Xna.Framework.Graphics</FONT>
<BR>
Class RasterizerState</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html" title="class in Microsoft.Xna.Framework.Graphics">Microsoft.Xna.Framework.Graphics.GraphicsResource</A>
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>Microsoft.Xna.Framework.Graphics.RasterizerState</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../System/IDisposable.html" title="interface in System">IDisposable</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>RasterizerState</B><DT>extends <A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsResource</A></DL>
</PRE>
<P>
Contains Rasterizer State, which determines how to convert vector data (shapes) into raster data (pixels).
<P>
<P>
<DL>
<DT><B>Author:</B></DT>
<DD>Halofreak1990</DD>
</DL>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html" title="class in Microsoft.Xna.Framework.Graphics">RasterizerState</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html#CullClockwise">CullClockwise</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A built-in state object with settings for culling primitives with clockwise winding order.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html" title="class in Microsoft.Xna.Framework.Graphics">RasterizerState</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html#CullCounterClockwise">CullCounterClockwise</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A built-in state object with settings for culling primitives with counter-clockwise winding order.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html" title="class in Microsoft.Xna.Framework.Graphics">RasterizerState</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html#CullNone">CullNone</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A built-in state object with settings for not culling any primitives.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_Microsoft.Xna.Framework.Graphics.GraphicsResource"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class Microsoft.Xna.Framework.Graphics.<A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsResource</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#_parent">_parent</A>, <A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#Disposing">Disposing</A>, <A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#Name">Name</A>, <A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#Tag">Tag</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../Microsoft/Xna/Framework/Graphics/CullMode.html" title="enum in Microsoft.Xna.Framework.Graphics">CullMode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html#getCullMode()">getCullMode</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html#getDepthBias()">getDepthBias</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the depth bias for polygons, which is the amount of bias to apply to the depth of a primitive to alleviate depth testing problems for primitives of similar
depth.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../Microsoft/Xna/Framework/Graphics/FillMode.html" title="enum in Microsoft.Xna.Framework.Graphics">FillMode</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html#getFillMode()">getFillMode</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html#getMultiSampleAntiAlias()">getMultiSampleAntiAlias</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html#getScissorTestEnable()">getScissorTestEnable</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html#getSlopeScaleDepthBias()">getSlopeScaleDepthBias</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets a bias value that takes into account the slope of a polygon.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html#setCullMode(Microsoft.Xna.Framework.Graphics.CullMode)">setCullMode</A></B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/CullMode.html" title="enum in Microsoft.Xna.Framework.Graphics">CullMode</A>&nbsp;value)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specifies the conditions for culling or removing triangles.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html#setDepthBias(float)">setDepthBias</A></B>(float&nbsp;value)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the depth bias for polygons, which is the amount of bias to apply to the depth of a primitive to alleviate depth testing problems for primitives of similar
depth.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html#setFillMode(Microsoft.Xna.Framework.Graphics.FillMode)">setFillMode</A></B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/FillMode.html" title="enum in Microsoft.Xna.Framework.Graphics">FillMode</A>&nbsp;value)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The fill mode, which defines how a triangle is filled during rendering.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html#setMultiSampleAntiAlias(boolean)">setMultiSampleAntiAlias</A></B>(boolean&nbsp;value)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables or disables multisample antialiasing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html#setScissorTestEnable(boolean)">setScissorTestEnable</A></B>(boolean&nbsp;value)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables or disables scissor testing.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html#setSlopeScaleDepthBias(float)">setSlopeScaleDepthBias</A></B>(float&nbsp;value)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a bias value that takes into account the slope of a polygon.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_Microsoft.Xna.Framework.Graphics.GraphicsResource"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class Microsoft.Xna.Framework.Graphics.<A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html" title="class in Microsoft.Xna.Framework.Graphics">GraphicsResource</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#Dispose()">Dispose</A>, <A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#Dispose(boolean)">Dispose</A>, <A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#finalize()">finalize</A>, <A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#GraphicsDevice()">GraphicsDevice</A>, <A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#IsDisposed()">IsDisposed</A>, <A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#raise_disposing(java.lang.Object, System.EventArgs)">raise_disposing</A>, <A HREF="../../../../Microsoft/Xna/Framework/Graphics/GraphicsResource.html#toString()">toString</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="CullClockwise"><!-- --></A><H3>
CullClockwise</H3>
<PRE>
public static final <A HREF="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html" title="class in Microsoft.Xna.Framework.Graphics">RasterizerState</A> <B>CullClockwise</B></PRE>
<DL>
<DD>A built-in state object with settings for culling primitives with clockwise winding order.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="CullCounterClockwise"><!-- --></A><H3>
CullCounterClockwise</H3>
<PRE>
public static final <A HREF="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html" title="class in Microsoft.Xna.Framework.Graphics">RasterizerState</A> <B>CullCounterClockwise</B></PRE>
<DL>
<DD>A built-in state object with settings for culling primitives with counter-clockwise winding order.
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="CullNone"><!-- --></A><H3>
CullNone</H3>
<PRE>
public static final <A HREF="../../../../Microsoft/Xna/Framework/Graphics/RasterizerState.html" title="class in Microsoft.Xna.Framework.Graphics">RasterizerState</A> <B>CullNone</B></PRE>
<DL>
<DD>A built-in state object with settings for not culling any primitives.
<P>
<DL>
</DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="getCullMode()"><!-- --></A><H3>
getCullMode</H3>
<PRE>
public <A HREF="../../../../Microsoft/Xna/Framework/Graphics/CullMode.html" title="enum in Microsoft.Xna.Framework.Graphics">CullMode</A> <B>getCullMode</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setCullMode(Microsoft.Xna.Framework.Graphics.CullMode)"><!-- --></A><H3>
setCullMode</H3>
<PRE>
public void <B>setCullMode</B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/CullMode.html" title="enum in Microsoft.Xna.Framework.Graphics">CullMode</A>&nbsp;value)</PRE>
<DL>
<DD>Specifies the conditions for culling or removing triangles. The default value is CullMode.CounterClockwise.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>value</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="getDepthBias()"><!-- --></A><H3>
getDepthBias</H3>
<PRE>
public float <B>getDepthBias</B>()</PRE>
<DL>
<DD>Retrieves the depth bias for polygons, which is the amount of bias to apply to the depth of a primitive to alleviate depth testing problems for primitives of similar
depth.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setDepthBias(float)"><!-- --></A><H3>
setDepthBias</H3>
<PRE>
public void <B>setDepthBias</B>(float&nbsp;value)</PRE>
<DL>
<DD>Sets the depth bias for polygons, which is the amount of bias to apply to the depth of a primitive to alleviate depth testing problems for primitives of similar
depth. The default value is 0.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getFillMode()"><!-- --></A><H3>
getFillMode</H3>
<PRE>
public <A HREF="../../../../Microsoft/Xna/Framework/Graphics/FillMode.html" title="enum in Microsoft.Xna.Framework.Graphics">FillMode</A> <B>getFillMode</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setFillMode(Microsoft.Xna.Framework.Graphics.FillMode)"><!-- --></A><H3>
setFillMode</H3>
<PRE>
public void <B>setFillMode</B>(<A HREF="../../../../Microsoft/Xna/Framework/Graphics/FillMode.html" title="enum in Microsoft.Xna.Framework.Graphics">FillMode</A>&nbsp;value)</PRE>
<DL>
<DD>The fill mode, which defines how a triangle is filled during rendering. The default is FillMode.Solid.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getMultiSampleAntiAlias()"><!-- --></A><H3>
getMultiSampleAntiAlias</H3>
<PRE>
public boolean <B>getMultiSampleAntiAlias</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setMultiSampleAntiAlias(boolean)"><!-- --></A><H3>
setMultiSampleAntiAlias</H3>
<PRE>
public void <B>setMultiSampleAntiAlias</B>(boolean&nbsp;value)</PRE>
<DL>
<DD>Enables or disables multisample antialiasing. The default is true.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getScissorTestEnable()"><!-- --></A><H3>
getScissorTestEnable</H3>
<PRE>
public boolean <B>getScissorTestEnable</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setScissorTestEnable(boolean)"><!-- --></A><H3>
setScissorTestEnable</H3>
<PRE>
public void <B>setScissorTestEnable</B>(boolean&nbsp;value)</PRE>
<DL>
<DD>Enables or disables scissor testing. The default is false.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getSlopeScaleDepthBias()"><!-- --></A><H3>
getSlopeScaleDepthBias</H3>
<PRE>
public float <B>getSlopeScaleDepthBias</B>()</PRE>
<DL>
<DD>Gets a bias value that takes into account the slope of a polygon. This bias value is applied to coplanar primitives to reduce aliasing and other rendering artifacts
caused by z-fighting.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setSlopeScaleDepthBias(float)"><!-- --></A><H3>
setSlopeScaleDepthBias</H3>
<PRE>
public void <B>setSlopeScaleDepthBias</B>(float&nbsp;value)</PRE>
<DL>
<DD>Sets a bias value that takes into account the slope of a polygon. This bias value is applied to coplanar primitives to reduce aliasing and other rendering artifacts
caused by z-fighting. The default is 0.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RasterizerState.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../Microsoft/Xna/Framework/Graphics/PrimitiveType.html" title="enum in Microsoft.Xna.Framework.Graphics"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../Microsoft/Xna/Framework/Graphics/RenderTarget2D.html" title="class in Microsoft.Xna.Framework.Graphics"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?Microsoft/Xna/Framework/Graphics/RasterizerState.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="RasterizerState.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>