📄 texture2d.html
字号:
<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> <A HREF="../../../javax/media/j3d/NodeComponent.html" title="class in javax.media.j3d">NodeComponent</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/Texture2D.html#cloneNodeComponent()">cloneNodeComponent</A></B>()</CODE><BR> <B>Deprecated.</B> <I>replaced with cloneNodeComponent(boolean forceDuplicate)</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/Texture2D.html#duplicateNodeComponent(javax.media.j3d.NodeComponent)">duplicateNodeComponent</A></B>(<A HREF="../../../javax/media/j3d/NodeComponent.html" title="class in javax.media.j3d">NodeComponent</A> originalNodeComponent)</CODE><BR> <B>Deprecated.</B> <I>replaced with duplicateNodeComponent( NodeComponent originalNodeComponent, boolean forceDuplicate)</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/media/j3d/ImageComponent2D.html" title="class in javax.media.j3d">ImageComponent2D</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/Texture2D.html#getDetailImage()">getDetailImage</A></B>()</CODE><BR> <B>Deprecated.</B> <I>As of Java 3D 1.5 the optional detail texture feature is no longer supported.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/Texture2D.html#getDetailTextureFunc(float[], float[])">getDetailTextureFunc</A></B>(float[] lod, float[] pts)</CODE><BR> <B>Deprecated.</B> <I>As of Java 3D 1.5 the optional detail texture feature is no longer supported.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/Texture2D.html#getDetailTextureFunc(javax.vecmath.Point2f[])">getDetailTextureFunc</A></B>(<A HREF="../../../javax/vecmath/Point2f.html" title="class in javax.vecmath">Point2f</A>[] pts)</CODE><BR> <B>Deprecated.</B> <I>As of Java 3D 1.5 the optional detail texture feature is no longer supported.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/Texture2D.html#getDetailTextureFuncPointsCount()">getDetailTextureFuncPointsCount</A></B>()</CODE><BR> <B>Deprecated.</B> <I>As of Java 3D 1.5 the optional detail texture feature is no longer supported.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/Texture2D.html#getDetailTextureLevel()">getDetailTextureLevel</A></B>()</CODE><BR> <B>Deprecated.</B> <I>As of Java 3D 1.5 the optional detail texture feature is no longer supported.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/Texture2D.html#getDetailTextureMode()">getDetailTextureMode</A></B>()</CODE><BR> <B>Deprecated.</B> <I>As of Java 3D 1.5 the optional detail texture feature is no longer supported.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/Texture2D.html#setDetailImage(javax.media.j3d.ImageComponent2D)">setDetailImage</A></B>(<A HREF="../../../javax/media/j3d/ImageComponent2D.html" title="class in javax.media.j3d">ImageComponent2D</A> detailTexture)</CODE><BR> <B>Deprecated.</B> <I>As of Java 3D 1.5 the optional detail texture feature is no longer supported.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/Texture2D.html#setDetailTextureFunc(float[], float[])">setDetailTextureFunc</A></B>(float[] lod, float[] pts)</CODE><BR> <B>Deprecated.</B> <I>As of Java 3D 1.5 the optional detail texture feature is no longer supported.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/Texture2D.html#setDetailTextureFunc(javax.vecmath.Point2f[])">setDetailTextureFunc</A></B>(<A HREF="../../../javax/vecmath/Point2f.html" title="class in javax.vecmath">Point2f</A>[] pts)</CODE><BR> <B>Deprecated.</B> <I>As of Java 3D 1.5 the optional detail texture feature is no longer supported.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/Texture2D.html#setDetailTextureLevel(int)">setDetailTextureLevel</A></B>(int level)</CODE><BR> <B>Deprecated.</B> <I>As of Java 3D 1.5 the optional detail texture feature is no longer supported.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/Texture2D.html#setDetailTextureMode(int)">setDetailTextureMode</A></B>(int mode)</CODE><BR> <B>Deprecated.</B> <I>As of Java 3D 1.5 the optional detail texture feature is no longer supported.</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/Texture2D.html#setMagFilter(int)">setMagFilter</A></B>(int magFilter)</CODE><BR> Sets the magnification filter function.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.media.j3d.Texture"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class javax.media.j3d.<A HREF="../../../javax/media/j3d/Texture.html" title="class in javax.media.j3d">Texture</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/media/j3d/Texture.html#getAnisotropicFilterDegree()">getAnisotropicFilterDegree</A>, <A HREF="../../../javax/media/j3d/Texture.html#getAnisotropicFilterMode()">getAnisotropicFilterMode</A>, <A HREF="../../../javax/media/j3d/Texture.html#getBaseLevel()">getBaseLevel</A>, <A HREF="../../../javax/media/j3d/Texture.html#getBoundaryColor(javax.vecmath.Color4f)">getBoundaryColor</A>, <A HREF="../../../javax/media/j3d/Texture.html#getBoundaryModeS()">getBoundaryModeS</A>, <A HREF="../../../javax/media/j3d/Texture.html#getBoundaryModeT()">getBoundaryModeT</A>, <A HREF="../../../javax/media/j3d/Texture.html#getBoundaryWidth()">getBoundaryWidth</A>, <A HREF="../../../javax/media/j3d/Texture.html#getEnable()">getEnable</A>, <A HREF="../../../javax/media/j3d/Texture.html#getFilter4Func(float[])">getFilter4Func</A>, <A HREF="../../../javax/media/j3d/Texture.html#getFilter4FuncPointsCount()">getFilter4FuncPointsCount</A>, <A HREF="../../../javax/media/j3d/Texture.html#getFormat()">getFormat</A>, <A HREF="../../../javax/media/j3d/Texture.html#getHeight()">getHeight</A>, <A HREF="../../../javax/media/j3d/Texture.html#getImage(int)">getImage</A>, <A HREF="../../../javax/media/j3d/Texture.html#getImages()">getImages</A>, <A HREF="../../../javax/media/j3d/Texture.html#getLodOffset(javax.vecmath.Tuple3f)">getLodOffset</A>, <A HREF="../../../javax/media/j3d/Texture.html#getMagFilter()">getMagFilter</A>, <A HREF="../../../javax/media/j3d/Texture.html#getMaximumLevel()">getMaximumLevel</A>, <A HREF="../../../javax/media/j3d/Texture.html#getMaximumLOD()">getMaximumLOD</A>, <A HREF="../../../javax/media/j3d/Texture.html#getMinFilter()">getMinFilter</A>, <A HREF="../../../javax/media/j3d/Texture.html#getMinimumLOD()">getMinimumLOD</A>, <A HREF="../../../javax/media/j3d/Texture.html#getMipMapMode()">getMipMapMode</A>, <A HREF="../../../javax/media/j3d/Texture.html#getSharpenTextureFunc(float[], float[])">getSharpenTextureFunc</A>, <A HREF="../../../javax/media/j3d/Texture.html#getSharpenTextureFunc(javax.vecmath.Point2f[])">getSharpenTextureFunc</A>, <A HREF="../../../javax/media/j3d/Texture.html#getSharpenTextureFuncPointsCount()">getSharpenTextureFuncPointsCount</A>, <A HREF="../../../javax/media/j3d/Texture.html#getWidth()">getWidth</A>, <A HREF="../../../javax/media/j3d/Texture.html#numMipMapLevels()">numMipMapLevels</A>, <A HREF="../../../javax/media/j3d/Texture.html#setAnisotropicFilterDegree(float)">setAnisotropicFilterDegree</A>, <A HREF="../../../javax/media/j3d/Texture.html#setAnisotropicFilterMode(int)">setAnisotropicFilterMode</A>, <A HREF="../../../javax/media/j3d/Texture.html#setBaseLevel(int)">setBaseLevel</A>, <A HREF="../../../javax/media/j3d/Texture.html#setBoundaryColor(javax.vecmath.Color4f)">setBoundaryColor</A>, <A HREF="../../../javax/media/j3d/Texture.html#setBoundaryColor(float, float, float, float)">setBoundaryColor</A>, <A HREF="../../../javax/media/j3d/Texture.html#setBoundaryModeS(int)">setBoundaryModeS</A>, <A HREF="../../../javax/media/j3d/Texture.html#setBoundaryModeT(int)">setBoundaryModeT</A>, <A HREF="../../../javax/media/j3d/Texture.html#setEnable(boolean)">setEnable</A>, <A HREF="../../../javax/media/j3d/Texture.html#setFilter4Func(float[])">setFilter4Func</A>, <A HREF="../../../javax/media/j3d/Texture.html#setImage(int, javax.media.j3d.ImageComponent)">setImage</A>, <A HREF="../../../javax/media/j3d/Texture.html#setImages(javax.media.j3d.ImageComponent[])">setImages</A>, <A HREF="../../../javax/media/j3d/Texture.html#setLodOffset(float, float, float)">setLodOffset</A>, <A HREF="../../../javax/media/j3d/Texture.html#setLodOffset(javax.vecmath.Tuple3f)">setLodOffset</A>, <A HREF="../../../javax/media/j3d/Texture.html#setMaximumLevel(int)">setMaximumLevel</A>, <A HREF="../../../javax/media/j3d/Texture.html#setMaximumLOD(float)">setMaximumLOD</A>, <A HREF="../../../javax/media/j3d/Texture.html#setMinFilter(int)">setMinFilter</A>, <A HREF="../../../javax/media/j3d/Texture.html#setMinimumLOD(float)">setMinimumLOD</A>, <A HREF="../../../javax/media/j3d/Texture.html#setMipMapMode(int)">setMipMapMode</A>, <A HREF="../../../javax/media/j3d/Texture.html#setSharpenTextureFunc(float[], float[])">setSharpenTextureFunc</A>, <A HREF="../../../javax/media/j3d/Texture.html#setSharpenTextureFunc(javax.vecmath.Point2f[])">setSharpenTextureFunc</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.media.j3d.NodeComponent"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class javax.media.j3d.<A HREF="../../../javax/media/j3d/NodeComponent.html" title="class in javax.media.j3d">NodeComponent</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/media/j3d/NodeComponent.html#cloneNodeComponent(boolean)">cloneNodeComponent</A>, <A HREF="../../../javax/media/j3d/NodeComponent.html#duplicateNodeComponent(javax.media.j3d.NodeComponent, boolean)">duplicateNodeComponent</A>, <A HREF="../../../javax/media/j3d/NodeComponent.html#getDuplicateOnCloneTree()">getDuplicateOnCloneTree</A>, <A HREF="../../../javax/media/j3d/NodeComponent.html#setDuplicateOnCloneTree(boolean)">setDuplicateOnCloneTree</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.media.j3d.SceneGraphObject"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class javax.media.j3d.<A HREF="../../../javax/media/j3d/SceneGraphObject.html" title="class in javax.media.j3d">SceneGraphObject</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../javax/media/j3d/SceneGraphObject.html#clearCapability(int)">clearCapability</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#clearCapabilityIsFrequent(int)">clearCapabilityIsFrequent</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#duplicateSceneGraphObject(javax.media.j3d.SceneGraphObject)">duplicateSceneGraphObject</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#getCapability(int)">getCapability</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#getCapabilityIsFrequent(int)">getCapabilityIsFrequent</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#getName()">getName</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#getUserData()">getUserData</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#isCompiled()">isCompiled</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#isLive()">isLive</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#setCapability(int)">setCapability</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#setCapabilityIsFrequent(int)">setCapabilityIsFrequent</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#setName(java.lang.String)">setName</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#setUserData(java.lang.Object)">setUserData</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#toString()">toString</A>, <A HREF="../../../javax/media/j3d/SceneGraphObject.html#updateNodeReferences(javax.media.j3d.NodeReferenceTable)">updateNodeReferences</A></CODE></TD></TR></TABLE> <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> <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="ALLOW_DETAIL_TEXTURE_READ"><!-- --></A><H3>ALLOW_DETAIL_TEXTURE_READ</H3><PRE>public static final int <B>ALLOW_DETAIL_TEXTURE_READ</B></PRE><DL><DD><B>Deprecated.</B> <I>As of Java 3D 1.5 the optional detail texture feature is no longer supported. Specifies that this Texture object allows reading its detail texture information (e.g., detail texture image, detail texture mode, detail texture function, detail texture function points count, detail texture level)</I><DL><DT><B>Since:</B></DT> <DD>Java 3D 1.3</DD><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.media.j3d.Texture2D.ALLOW_DETAIL_TEXTURE_READ">Constant Field Values</A></DL></DL><HR><A NAME="LINEAR_DETAIL"><!-- --></A><H3>LINEAR_DETAIL</H3><PRE>public static final int <B>LINEAR_DETAIL</B></PRE><DL><DD><B>Deprecated.</B> <I>As of Java 3D 1.5 the optional detail texture feature is no longer supported. Performs linear sampling in both the base level texture image and the detail texture image, and combines the two texture values according to the detail texture mode.</I><DL><DT><B>Since:</B></DT> <DD>Java 3D 1.3</DD><DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Texture2D.html#setMagFilter(int)"><CODE>setMagFilter(int)</CODE></A>, <A HREF="../../../constant-values.html#javax.media.j3d.Texture2D.LINEAR_DETAIL">Constant Field Values</A></DL></DL><HR><A NAME="LINEAR_DETAIL_RGB"><!-- --></A><H3>LINEAR_DETAIL_RGB</H3><PRE>public static final int <B>LINEAR_DETAIL_RGB</B></PRE><DL><DD><B>Deprecated.</B> <I>As of Java 3D 1.5 the optional detail texture feature is no longer supported. Performs linear detail for the rgb components only. The alpha component is computed using BASE_LEVEL_LINEAR filter.</I><DL><DT><B>Since:</B></DT> <DD>Java 3D 1.3</DD><DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Texture2D.html#setMagFilter(int)"><CODE>setMagFilter(int)</CODE></A>, <A HREF="../../../constant-values.html#javax.media.j3d.Texture2D.LINEAR_DETAIL_RGB">Constant Field Values</A></DL></DL><HR><A NAME="LINEAR_DETAIL_ALPHA"><!-- --></A><H3>LINEAR_DETAIL_ALPHA</H3><PRE>public static final int <B>LINEAR_DETAIL_ALPHA</B></PRE><DL><DD><B>Deprecated.</B> <I>As of Java 3D 1.5 the optional detail texture feature is no longer supported. Performs linear detail for the alpha component only. The rgb components are computed using BASE_LEVEL_LINEAR filter.</I><DL><DT><B>Since:</B></DT> <DD>Java 3D 1.3</DD><DT><B>See Also:</B><DD><A HREF="../../../javax/media/j3d/Texture2D.html#setMagFilter(int)"><CODE>setMagFilter(int)</CODE></A>, <A HREF="../../../constant-values.html#javax.media.j3d.Texture2D.LINEAR_DETAIL_ALPHA">Constant Field Values</A></DL></DL>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -