⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shadererror.html

📁 JAVA多媒体开发类库说明
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/ShaderError.html#setDetailMessage(java.lang.String)">setDetailMessage</A></B>(java.lang.String&nbsp;detailMessage)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the detail message for this shader error.</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="../../../javax/media/j3d/ShaderError.html#setErrorCode(int)">setErrorCode</A></B>(int&nbsp;errorCode)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the error code for this shader error.</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="../../../javax/media/j3d/ShaderError.html#setErrorMessage(java.lang.String)">setErrorMessage</A></B>(java.lang.String&nbsp;errorMessage)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the error message for this shader error.</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="../../../javax/media/j3d/ShaderError.html#setGeometry(javax.media.j3d.Geometry)">setGeometry</A></B>(<A HREF="../../../javax/media/j3d/Geometry.html" title="class in javax.media.j3d">Geometry</A>&nbsp;geometry)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the geometry associated with this shader error.</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="../../../javax/media/j3d/ShaderError.html#setShader(javax.media.j3d.Shader)">setShader</A></B>(<A HREF="../../../javax/media/j3d/Shader.html" title="class in javax.media.j3d">Shader</A>&nbsp;shader)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the shader object associated with this shader error.</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="../../../javax/media/j3d/ShaderError.html#setShaderAppearance(javax.media.j3d.ShaderAppearance)">setShaderAppearance</A></B>(<A HREF="../../../javax/media/j3d/ShaderAppearance.html" title="class in javax.media.j3d">ShaderAppearance</A>&nbsp;shaderApp)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the shader appearance associated with this shader error.</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="../../../javax/media/j3d/ShaderError.html#setShaderAttribute(javax.media.j3d.ShaderAttribute)">setShaderAttribute</A></B>(<A HREF="../../../javax/media/j3d/ShaderAttribute.html" title="class in javax.media.j3d">ShaderAttribute</A>&nbsp;shaderAttribute)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the shader attribute associated with this shader error.</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="../../../javax/media/j3d/ShaderError.html#setShaderAttributeSet(javax.media.j3d.ShaderAttributeSet)">setShaderAttributeSet</A></B>(<A HREF="../../../javax/media/j3d/ShaderAttributeSet.html" title="class in javax.media.j3d">ShaderAttributeSet</A>&nbsp;shaderAttributeSet)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the shader attribute set associated with this shader error.</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="../../../javax/media/j3d/ShaderError.html#setShaderProgram(javax.media.j3d.ShaderProgram)">setShaderProgram</A></B>(<A HREF="../../../javax/media/j3d/ShaderProgram.html" title="class in javax.media.j3d">ShaderProgram</A>&nbsp;shaderProgram)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the shader program associated with this shader error.</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="../../../javax/media/j3d/ShaderError.html#setShape3D(javax.media.j3d.Shape3D)">setShape3D</A></B>(<A HREF="../../../javax/media/j3d/Shape3D.html" title="class in javax.media.j3d">Shape3D</A>&nbsp;shape)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the shape node associated with this shader error.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/ShaderError.html#toString()">toString</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a short string that describes this shader error.</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, finalize, 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="NO_ERROR"><!-- --></A><H3>NO_ERROR</H3><PRE>public static final int <B>NO_ERROR</B></PRE><DL><DD>Indicates that no error occurred.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.ShaderError.NO_ERROR">Constant Field Values</A></DL></DL><HR><A NAME="COMPILE_ERROR"><!-- --></A><H3>COMPILE_ERROR</H3><PRE>public static final int <B>COMPILE_ERROR</B></PRE><DL><DD>Indicates that an error occurred while compiling a shader.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.ShaderError.COMPILE_ERROR">Constant Field Values</A></DL></DL><HR><A NAME="LINK_ERROR"><!-- --></A><H3>LINK_ERROR</H3><PRE>public static final int <B>LINK_ERROR</B></PRE><DL><DD>Indicates that an error occurred while linking a shader.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.ShaderError.LINK_ERROR">Constant Field Values</A></DL></DL><HR><A NAME="VERTEX_ATTRIBUTE_LOOKUP_ERROR"><!-- --></A><H3>VERTEX_ATTRIBUTE_LOOKUP_ERROR</H3><PRE>public static final int <B>VERTEX_ATTRIBUTE_LOOKUP_ERROR</B></PRE><DL><DD>Indicates a error in looking up a vertex attribute name within a given shader program.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.ShaderError.VERTEX_ATTRIBUTE_LOOKUP_ERROR">Constant Field Values</A></DL></DL><HR><A NAME="SHADER_ATTRIBUTE_LOOKUP_ERROR"><!-- --></A><H3>SHADER_ATTRIBUTE_LOOKUP_ERROR</H3><PRE>public static final int <B>SHADER_ATTRIBUTE_LOOKUP_ERROR</B></PRE><DL><DD>Indicates a error in looking up the location of a uniform shader attribute name within a given shader program.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.ShaderError.SHADER_ATTRIBUTE_LOOKUP_ERROR">Constant Field Values</A></DL></DL><HR><A NAME="SHADER_ATTRIBUTE_NAME_NOT_SET_ERROR"><!-- --></A><H3>SHADER_ATTRIBUTE_NAME_NOT_SET_ERROR</H3><PRE>public static final int <B>SHADER_ATTRIBUTE_NAME_NOT_SET_ERROR</B></PRE><DL><DD>Indicates a error caused by a ShaderAttribute whose name does not appear in the list of shader attribute names in the corresponding ShaderProgram object.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.ShaderError.SHADER_ATTRIBUTE_NAME_NOT_SET_ERROR">Constant Field Values</A></DL></DL><HR><A NAME="SHADER_ATTRIBUTE_TYPE_ERROR"><!-- --></A><H3>SHADER_ATTRIBUTE_TYPE_ERROR</H3><PRE>public static final int <B>SHADER_ATTRIBUTE_TYPE_ERROR</B></PRE><DL><DD>Indicates a error in the type of the attribute versus what the shader program was expecting.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.ShaderError.SHADER_ATTRIBUTE_TYPE_ERROR">Constant Field Values</A></DL></DL><HR><A NAME="UNSUPPORTED_LANGUAGE_ERROR"><!-- --></A><H3>UNSUPPORTED_LANGUAGE_ERROR</H3><PRE>public static final int <B>UNSUPPORTED_LANGUAGE_ERROR</B></PRE><DL><DD>Indicates that the specified shading language is not supported on the screen display device.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.ShaderError.UNSUPPORTED_LANGUAGE_ERROR">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="ShaderError()"><!-- --></A><H3>ShaderError</H3><PRE>public <B>ShaderError</B>()</PRE><DL><DD>Constructs a new ShaderError object indicating no error. The error code is set to <code>NO_ERROR</code>.  All other fields are initialized to null, including the error message.<P></DL><HR><A NAME="ShaderError(int, java.lang.String)"><!-- --></A><H3>ShaderError</H3><PRE>public <B>ShaderError</B>(int&nbsp;errorCode,                   java.lang.String&nbsp;errorMessage)</PRE><DL><DD>Constructs a new ShaderError object with the given error code and message.  All other fields are initialized to null.<P><DL><DT><B>Parameters:</B><DD><CODE>errorCode</CODE> - the error code for this shader error.<DD><CODE>errorMessage</CODE> - a short error message describing this shader error.</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="printVerbose()"><!-- --></A><H3>printVerbose</H3><PRE>public void <B>printVerbose</B>()</PRE><DL><DD>Prints a verbose error report to System.err. This verbose output includes the error code, error message, detail message, and all relevant Java 3D objects.<P><DD><DL></DL></DD></DL><HR><A NAME="printVerbose(java.io.PrintStream)"><!-- --></A><H3>printVerbose</H3><PRE>public void <B>printVerbose</B>(java.io.PrintStream&nbsp;printStream)</PRE><DL><DD>Prints a verbose error report to the specified PrintStream. This verbose output includes the error code, error message, detail message, and all relevant Java 3D objects.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>printStream</CODE> - the print stream on which to print the error report.</DL></DD></DL><HR><A NAME="setErrorCode(int)"><!-- --></A><H3>setErrorCode</H3><PRE>public void <B>setErrorCode</B>(int&nbsp;errorCode)</PRE><DL><DD>Sets the error code for this shader error. This represents the type of error that occurred.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>errorCode</CODE> - the error code for this shader error.</DL></DD></DL><HR><A NAME="getErrorCode()"><!-- --></A><H3>getErrorCode</H3><PRE>public int <B>getErrorCode</B>()</PRE><DL><DD>Returns the error code for this shader error.<P><DD><DL><DT><B>Returns:</B><DD>the error code.</DL></DD></DL><HR><A NAME="setErrorMessage(java.lang.String)"><!-- --></A><H3>setErrorMessage</H3><PRE>public void <B>setErrorMessage</B>(java.lang.String&nbsp;errorMessage)</PRE><DL><DD>Sets the error message for this shader error. This is a short message describing the error, and is included as part of toString().<P><DD><DL><DT><B>Parameters:</B><DD><CODE>errorMessage</CODE> - a short error message describing this shader error.</DL></DD></DL><HR><A NAME="getErrorMessage()"><!-- --></A><H3>getErrorMessage</H3><PRE>public java.lang.String <B>getErrorMessage</B>()</PRE><DL>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -