📄 texture3d.html
字号:
<BR> Constructs an empty Texture3D object with specified mipmapMode format, width, height, depth, and boundaryWidth.</TD></TR></TABLE> <!-- ========== 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> <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/Texture3D.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/Texture3D.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> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/media/j3d/Texture3D.html#getBoundaryModeR()">getBoundaryModeR</A></B>()</CODE><BR> Retrieves the boundary mode for the R coordinate.</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/Texture3D.html#getDepth()">getDepth</A></B>()</CODE><BR> Retrieves the depth of this Texture3D object.</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/Texture3D.html#setBoundaryModeR(int)">setBoundaryModeR</A></B>(int boundaryModeR)</CODE><BR> Sets the boundary mode for the R coordinate in this texture object.</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#setMagFilter(int)">setMagFilter</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><!-- ========= 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="Texture3D()"><!-- --></A><H3>Texture3D</H3><PRE>public <B>Texture3D</B>()</PRE><DL><DD>Constructs a Texture3D object with default parameters. The default values are as follows: <ul> depth : 0<br> boundary mode R : WRAP<br> </ul> <p> Note that the default constructor creates a texture object with a width, height, and depth of 0 and is, therefore, not useful.<P></DL><HR><A NAME="Texture3D(int, int, int, int, int)"><!-- --></A><H3>Texture3D</H3><PRE>public <B>Texture3D</B>(int mipmapMode, int format, int width, int height, int depth)</PRE><DL><DD>Constructs an empty Texture3D object with specified mipmapMode format, width, height, and depth. Image at base level must be set by the application using 'setImage' method. If mipmapMode is set to MULTI_LEVEL_MIPMAP, images for base level through maximum level must be set. Note that a texture with a non-power-of-two width, height, or depth will only be rendered on a graphics device that supports non-power-of-two textures.<P><DL><DT><B>Parameters:</B><DD><CODE>mipmapMode</CODE> - type of mipmap for this Texture: One of BASE_LEVEL, MULTI_LEVEL_MIPMAP.<DD><CODE>format</CODE> - data format of Textures saved in this object. One of INTENSITY, LUMINANCE, ALPHA, LUMINANCE_ALPHA, RGB, RGBA.<DD><CODE>width</CODE> - width of image at level 0.<DD><CODE>height</CODE> - height of image at level 0.<DD><CODE>depth</CODE> - depth of image at level 0.<DT><B>Throws:</B><DD><CODE>java.lang.IllegalArgumentException</CODE> - if width, height, or depth are not greater than 0 OR invalid format/mipmapMode is specified.</DL></DL><HR><A NAME="Texture3D(int, int, int, int, int, int)"><!-- --></A><H3>Texture3D</H3><PRE>public <B>Texture3D</B>(int mipmapMode, int format, int width, int height, int depth, int boundaryWidth)</PRE><DL><DD>Constructs an empty Texture3D object with specified mipmapMode format, width, height, depth, and boundaryWidth. Image at base level must be set by the application using 'setImage' method. If mipmapMode is set to MULTI_LEVEL_MIPMAP, images for base level through maximum level must be set. Note that a texture with a non-power-of-two width, height, or depth will only be rendered on a graphics device that supports non-power-of-two textures.<P><DL><DT><B>Parameters:</B><DD><CODE>mipmapMode</CODE> - type of mipmap for this Texture: One of BASE_LEVEL, MULTI_LEVEL_MIPMAP.<DD><CODE>format</CODE> - data format of Textures saved in this object. One of INTENSITY, LUMINANCE, ALPHA, LUMINANCE_ALPHA, RGB, RGBA.<DD><CODE>width</CODE> - width of image at level 0. This
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -