<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qtextureimage.cpp --> <title>TextureImage QML Type | Qt 3D 5.9</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td >Qt 5.9</td><td ><a href="qt3d-index.html">Qt 3D</a></td><td ><a href="qt3d-core-qmlmodule.html">QML Types</a></td><td >TextureImage QML Type</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"> <div class="toc"> <h3><a name="toc">Contents</a></h3> <ul> <li class="level1"><a href="#properties">Properties</a></li> <li class="level1"><a href="#details">Detailed Description</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">TextureImage QML Type</h1> <span class="subtitle"></span> <!-- $$$TextureImage-brief --> <p>Encapsulates the necessary information to create an OpenGL texture image from an image source. <a href="#details">More...</a></p> <!-- @@@TextureImage --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Import Statement:</td><td class="memItemRight bottomAlign"> import Qt3D.Render 2.0</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> Qt 5.5</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Instantiates:</td><td class="memItemRight bottomAlign"> <a href="qml-qt3d-render-textureimage.html"><a href="qt3drender-qtextureimage.html">QTextureImage</a></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <p><a href="qml-qt3d-render-abstracttextureimage.html">AbstractTextureImage</a></p> </td></tr></table></div><ul> <li><a href="qml-qt3d-render-textureimage-members.html">List of all members, including inherited members</a></li> </ul> <a name="properties"></a> <h2 id="properties">Properties</h2> <ul> <li class="fn"><b><b><a href="qml-qt3d-render-textureimage.html#face-prop">face</a></b></b> : enumeration</li> <li class="fn"><b><b><a href="qml-qt3d-render-textureimage.html#layer-prop">layer</a></b></b> : int</li> <li class="fn"><b><b><a href="qml-qt3d-render-textureimage.html#mipLevel-prop">mipLevel</a></b></b> : int</li> <li class="fn"><b><b><a href="qml-qt3d-render-textureimage.html#source-prop">source</a></b></b> : url</li> <li class="fn"><b><b><a href="qml-qt3d-render-textureimage.html#status-prop">status</a></b></b> : enumeration</li> </ul> <!-- $$$TextureImage-description --> <a name="details"></a> <h2 id="details">Detailed Description</h2> <!-- @@@TextureImage --> <h2>Property Documentation</h2> <!-- $$$face --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="face-prop"> <td class="tblQmlPropNode"><p> <a name="face-prop"></a><span class="name">face</span> : <span class="type">enumeration</span></p></td></tr> </table></div> </div><div class="qmldoc"><p>Holds the cube map face of the texture image.</p> <div class="table"><table class="valuelist"><tr valign="top" class="odd"><th class="tblConst">Constant</th><th class="tbldscr">Description</th></tr> <tr><td class="topAlign"><code>CubeMapPositiveX</code></td><td class="topAlign">0x8515 GL_TEXTURE_CUBE_MAP_POSITIVE_X</td></tr> <tr><td class="topAlign"><code>CubeMapNegativeX</code></td><td class="topAlign">0x8516 GL_TEXTURE_CUBE_MAP_NEGATIVE_X</td></tr> <tr><td class="topAlign"><code>CubeMapPositiveY</code></td><td class="topAlign">0x8517 GL_TEXTURE_CUBE_MAP_POSITIVE_Y</td></tr> <tr><td class="topAlign"><code>CubeMapNegativeY</code></td><td class="topAlign">0x8518 GL_TEXTURE_CUBE_MAP_NEGATIVE_Y</td></tr> <tr><td class="topAlign"><code>CubeMapPositiveZ</code></td><td class="topAlign">0x8519 GL_TEXTURE_CUBE_MAP_POSITIVE_Z</td></tr> <tr><td class="topAlign"><code>CubeMapNegativeZ</code></td><td class="topAlign">0x851A GL_TEXTURE_CUBE_MAP_NEGATIVE_Z</td></tr> </table></div> <p><b>Note: </b>The cube map face has a meaning only for <a href="qt3drender-qabstracttexture.html#Target-enum">TargetCubeMap</a> and <a href="qt3drender-qabstracttexture.html#Target-enum">TargetCubeMapArray</a>.</p></div></div><!-- @@@face --> <br/> <!-- $$$layer --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="layer-prop"> <td class="tblQmlPropNode"><p> <a name="layer-prop"></a><span class="name">layer</span> : <span class="type">int</span></p></td></tr> </table></div> </div><div class="qmldoc"><p>Holds the layer of the texture image.</p> </div></div><!-- @@@layer --> <br/> <!-- $$$mipLevel --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="mipLevel-prop"> <td class="tblQmlPropNode"><p> <a name="mipLevel-prop"></a><span class="name">mipLevel</span> : <span class="type">int</span></p></td></tr> </table></div> </div><div class="qmldoc"><p>Holds the mipmap level of the texture image.</p> </div></div><!-- @@@mipLevel --> <br/> <!-- $$$source --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="source-prop"> <td class="tblQmlPropNode"><p> <a name="source-prop"></a><span class="name">source</span> : <span class="type">url</span></p></td></tr> </table></div> </div><div class="qmldoc"><p>This property holds the source url from which data for the texture image will be loaded.</p> </div></div><!-- @@@source --> <br/> <!-- $$$status --> <div class="qmlitem"><div class="qmlproto"> <div class="table"><table class="qmlname"> <tr valign="top" class="odd" id="status-prop"> <td class="tblQmlPropNode"><p> <a name="status-prop"></a><span class="qmlreadonly">[read-only] </span><span class="name">status</span> : <span class="type">enumeration</span></p></td></tr> </table></div> </div><div class="qmldoc"><p>This property holds the status of the texture image loading.</p> <ul> <li><a href="qml-qt3d-render-textureimage.html">TextureImage</a>.None</li> <li><a href="qml-qt3d-render-textureimage.html">TextureImage</a>.Loading</li> <li><a href="qml-qt3d-render-textureimage.html">TextureImage</a>.Ready</li> <li><a href="qml-qt3d-render-textureimage.html">TextureImage</a>.Error</li> </ul> </div></div><!-- @@@status --> <br/> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. </p> </div> </body> </html>