📄 renderingattributes.html
字号:
than the stored stencil value in the frame buffer.</li><p> <li>LESS_OR_EQUAL - pixels are drawn if the stencil reference value is less than or equal to the stored stencil value in the frame buffer.</li><p> <li>GREATER - pixels are drawn if the stencil reference value is greater than the stored stencil value in the frame buffer.</li><p> <li>GREATER_OR_EQUAL - pixels are drawn if the stencil reference value is greater than or equal to the stored stencil value in the frame buffer.</li><p> </ul> </ul> <p>Note: the alpha test, depth test, and stencil functions all use the same enums.</p><P><P><DL><DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Appearance.html" title="class in javax.media.j3d"><CODE>Appearance</CODE></A></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 int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#ALLOW_ALPHA_TEST_FUNCTION_READ">ALLOW_ALPHA_TEST_FUNCTION_READ</A></B></CODE><BR> Specifies that this RenderingAttributes object allows reading its alpha test function component information.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#ALLOW_ALPHA_TEST_FUNCTION_WRITE">ALLOW_ALPHA_TEST_FUNCTION_WRITE</A></B></CODE><BR> Specifies that this RenderingAttributes object allows writing its alpha test function component information.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#ALLOW_ALPHA_TEST_VALUE_READ">ALLOW_ALPHA_TEST_VALUE_READ</A></B></CODE><BR> Specifies that this RenderingAttributes object allows reading its alpha test value component information.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#ALLOW_ALPHA_TEST_VALUE_WRITE">ALLOW_ALPHA_TEST_VALUE_WRITE</A></B></CODE><BR> Specifies that this RenderingAttributes object allows writing its alpha test value component information.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#ALLOW_DEPTH_ENABLE_READ">ALLOW_DEPTH_ENABLE_READ</A></B></CODE><BR> Specifies that this RenderingAttributes object allows reading its depth buffer enable and depth buffer write enable component information.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#ALLOW_DEPTH_ENABLE_WRITE">ALLOW_DEPTH_ENABLE_WRITE</A></B></CODE><BR> Specifies that this RenderingAttributes object allows writing its depth buffer enable and depth buffer write enable component information.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#ALLOW_DEPTH_TEST_FUNCTION_READ">ALLOW_DEPTH_TEST_FUNCTION_READ</A></B></CODE><BR> Specifies that this RenderingAttributes object allows reading its depth test function component information.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#ALLOW_DEPTH_TEST_FUNCTION_WRITE">ALLOW_DEPTH_TEST_FUNCTION_WRITE</A></B></CODE><BR> Specifies that this RenderingAttributes object allows writing its depth test function component information.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#ALLOW_IGNORE_VERTEX_COLORS_READ">ALLOW_IGNORE_VERTEX_COLORS_READ</A></B></CODE><BR> Specifies that this RenderingAttributes object allows reading its ignore vertex colors information.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#ALLOW_IGNORE_VERTEX_COLORS_WRITE">ALLOW_IGNORE_VERTEX_COLORS_WRITE</A></B></CODE><BR> Specifies that this RenderingAttributes object allows writing its ignore vertex colors information.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#ALLOW_RASTER_OP_READ">ALLOW_RASTER_OP_READ</A></B></CODE><BR> Specifies that this RenderingAttributes object allows reading its raster operation information.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#ALLOW_RASTER_OP_WRITE">ALLOW_RASTER_OP_WRITE</A></B></CODE><BR> Specifies that this RenderingAttributes object allows writing its raster operation information.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#ALLOW_STENCIL_ATTRIBUTES_READ">ALLOW_STENCIL_ATTRIBUTES_READ</A></B></CODE><BR> Specifies that this RenderingAttributes object allows reading its stencil enable, stencil op, stencil function, and stencil write mask information.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#ALLOW_STENCIL_ATTRIBUTES_WRITE">ALLOW_STENCIL_ATTRIBUTES_WRITE</A></B></CODE><BR> Specifies that this RenderingAttributes object allows writing its stencil enable, stencil op, stencil function, and stencil write mask information.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#ALLOW_VISIBLE_READ">ALLOW_VISIBLE_READ</A></B></CODE><BR> Specifies that this RenderingAttributes object allows reading its visibility information.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#ALLOW_VISIBLE_WRITE">ALLOW_VISIBLE_WRITE</A></B></CODE><BR> Specifies that this RenderingAttributes object allows writing its visibility information.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#ALWAYS">ALWAYS</A></B></CODE><BR> Specifies that pixels are always drawn irrespective of the values being tested.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#EQUAL">EQUAL</A></B></CODE><BR> Specifies that pixels are drawn if the two values being tested are equal.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#GREATER">GREATER</A></B></CODE><BR> Specifies that pixels are drawn if the source/reference value is greater than the destination/test value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#GREATER_OR_EQUAL">GREATER_OR_EQUAL</A></B></CODE><BR> Specifies that pixels are drawn if the source/reference value is greater than or equal to the destination/test value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#LESS">LESS</A></B></CODE><BR> Specifies that pixels are drawn if the source/reference value is less than the destination/test value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#LESS_OR_EQUAL">LESS_OR_EQUAL</A></B></CODE><BR> Specifies that pixels are drawn if the source/reference value is less than or equal to the destination/test value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#NEVER">NEVER</A></B></CODE><BR> Specifies that pixels are never drawn irrespective of the values being tested.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#NOT_EQUAL">NOT_EQUAL</A></B></CODE><BR> Specifies that pixels are drawn if the two values being tested are not equal.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#ROP_AND">ROP_AND</A></B></CODE><BR> Raster operation: <code>DST = SRC & DST</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#ROP_AND_INVERTED">ROP_AND_INVERTED</A></B></CODE><BR> Raster operation: <code>DST = ~SRC & DST</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#ROP_AND_REVERSE">ROP_AND_REVERSE</A></B></CODE><BR> Raster operation: <code>DST = SRC & ~DST</code>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/RenderingAttributes.html#ROP_CLEAR">ROP_CLEAR</A></B></CODE><BR> Raster operation: <code>DST = 0</code>.</TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -