Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > c936229ef0138f42857f36beadbeda30 > files > 1139

qt3d5-doc-5.12.2-2.mga7.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qtexturedata.cpp -->
  <title>QTextureData Class | Qt 3D 5.12.2</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.12</td><td ><a href="qt3d-index.html">Qt 3D</a></td><td ><a href="qt3d-cpp.html">C++ Classes</a></td><td >QTextureData</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qt3d-index.html">Qt 5.12.2 Reference Documentation</a></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="#public-functions">Public Functions</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">QTextureData Class</h1>
<span class="small-subtitle">(<a href="qt3drender-qtexturedata.html">Qt3DRender::QTextureData</a>)<br/></span>
<!-- $$$QTextureData-brief -->
<p>The <a href="qt3drender-qtexturedata.html">QTextureData</a> class stores texture information such as the target, height, width, depth, layers, wrap, and if mipmaps are enabled. <a href="#details">More...</a></p>
<!-- @@@QTextureData -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;Qt3DRender/QTextureData&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += 3drender</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 5.7</td></tr></table></div><ul>
<li><a href="qt3drender-qtexturedata-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#QTextureData">QTextureData</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#addImageData">addImageData</a></b>(const Qt3DRender::QTextureImageDataPtr &amp;<i>imageData</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QAbstractTexture::ComparisonFunction </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#comparisonFunction">comparisonFunction</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QAbstractTexture::ComparisonMode </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#comparisonMode">comparisonMode</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#depth">depth</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QAbstractTexture::TextureFormat </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#format">format</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#height">height</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QVector&lt;Qt3DRender::QTextureImageDataPtr&gt; </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#imageData">imageData</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#isAutoMipMapGenerationEnabled">isAutoMipMapGenerationEnabled</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#layers">layers</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QAbstractTexture::Filter </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#magnificationFilter">magnificationFilter</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> float </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#maximumAnisotropy">maximumAnisotropy</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QAbstractTexture::Filter </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#minificationFilter">minificationFilter</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#setAutoMipMapGenerationEnabled">setAutoMipMapGenerationEnabled</a></b>(bool <i>autoMipMap</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#setComparisonFunction">setComparisonFunction</a></b>(QAbstractTexture::ComparisonFunction <i>comparisonFunction</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#setComparisonMode">setComparisonMode</a></b>(QAbstractTexture::ComparisonMode <i>comparisonMode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#setDepth">setDepth</a></b>(int <i>depth</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#setFormat">setFormat</a></b>(QAbstractTexture::TextureFormat <i>format</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#setHeight">setHeight</a></b>(int <i>height</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#setLayers">setLayers</a></b>(int <i>layers</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#setMagnificationFilter">setMagnificationFilter</a></b>(QAbstractTexture::Filter <i>filter</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#setMaximumAnisotropy">setMaximumAnisotropy</a></b>(float <i>maximumAnisotropy</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#setMinificationFilter">setMinificationFilter</a></b>(QAbstractTexture::Filter <i>filter</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#setTarget">setTarget</a></b>(QAbstractTexture::Target <i>target</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#setWidth">setWidth</a></b>(int <i>width</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#setWrapModeX">setWrapModeX</a></b>(QTextureWrapMode::WrapMode <i>wrapModeX</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#setWrapModeY">setWrapModeY</a></b>(QTextureWrapMode::WrapMode <i>wrapModeY</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#setWrapModeZ">setWrapModeZ</a></b>(QTextureWrapMode::WrapMode <i>wrapModeZ</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QAbstractTexture::Target </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#target">target</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> int </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#width">width</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QTextureWrapMode::WrapMode </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#wrapModeX">wrapModeX</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QTextureWrapMode::WrapMode </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#wrapModeY">wrapModeY</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QTextureWrapMode::WrapMode </td><td class="memItemRight bottomAlign"><b><a href="qt3drender-qtexturedata.html#wrapModeZ">wrapModeZ</a></b>() const</td></tr>
</table></div>
<a name="details"></a>
<!-- $$$QTextureData-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qt3drender-qtexturedata.html">QTextureData</a> class stores texture information such as the target, height, width, depth, layers, wrap, and if mipmaps are enabled.</p>
</div>
<!-- @@@QTextureData -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QTextureData[overload1]$$$QTextureData -->
<h3 class="fn" id="QTextureData"><a name="QTextureData"></a>QTextureData::<span class="name">QTextureData</span>()</h3>
<p>Creates a new <a href="qt3drender-qtexturedata.html">QTextureData</a> instance.</p>
<!-- @@@QTextureData -->
<!-- $$$addImageData[overload1]$$$addImageDataconstQt3DRender::QTextureImageDataPtr& -->
<h3 class="fn" id="addImageData"><a name="addImageData"></a><span class="type">void</span> QTextureData::<span class="name">addImageData</span>(const <span class="type"><a href="qt3drender-qtextureimagedatagenerator.html#QTextureImageDataPtr-typedef">Qt3DRender::QTextureImageDataPtr</a></span> &amp;<i>imageData</i>)</h3>
<p>Adds an extra image layer to the texture using <i>imageData</i>.</p>
<p><b>Note: </b>The texture image should be loaded with the size specified on the texture. However, if no size is specified, the size of the first texture image file is used as default.</p><!-- @@@addImageData -->
<!-- $$$comparisonFunction[overload1]$$$comparisonFunction -->
<h3 class="fn" id="comparisonFunction"><a name="comparisonFunction"></a><span class="type"><a href="qt3drender-qabstracttexture.html#ComparisonFunction-enum">QAbstractTexture::ComparisonFunction</a></span> QTextureData::<span class="name">comparisonFunction</span>() const</h3>
<p>Returns the current comparison function.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#setComparisonFunction">setComparisonFunction</a>().</p>
<!-- @@@comparisonFunction -->
<!-- $$$comparisonMode[overload1]$$$comparisonMode -->
<h3 class="fn" id="comparisonMode"><a name="comparisonMode"></a><span class="type"><a href="qt3drender-qabstracttexture.html#ComparisonMode-enum">QAbstractTexture::ComparisonMode</a></span> QTextureData::<span class="name">comparisonMode</span>() const</h3>
<p>Returns the current comparison mode.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#setComparisonMode">setComparisonMode</a>().</p>
<!-- @@@comparisonMode -->
<!-- $$$depth[overload1]$$$depth -->
<h3 class="fn" id="depth"><a name="depth"></a><span class="type">int</span> QTextureData::<span class="name">depth</span>() const</h3>
<p>Returns the texture depth.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#setDepth">setDepth</a>().</p>
<!-- @@@depth -->
<!-- $$$format[overload1]$$$format -->
<h3 class="fn" id="format"><a name="format"></a><span class="type"><a href="qt3drender-qabstracttexture.html#TextureFormat-enum">QAbstractTexture::TextureFormat</a></span> QTextureData::<span class="name">format</span>() const</h3>
<p>Returns the texture format</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#setFormat">setFormat</a>().</p>
<!-- @@@format -->
<!-- $$$height[overload1]$$$height -->
<h3 class="fn" id="height"><a name="height"></a><span class="type">int</span> QTextureData::<span class="name">height</span>() const</h3>
<p>Returns the texture height.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#setHeight">setHeight</a>().</p>
<!-- @@@height -->
<!-- $$$imageData[overload1]$$$imageData -->
<h3 class="fn" id="imageData"><a name="imageData"></a><span class="type">QVector</span>&lt;<span class="type"><a href="qt3drender-qtextureimagedatagenerator.html#QTextureImageDataPtr-typedef">Qt3DRender::QTextureImageDataPtr</a></span>&gt; QTextureData::<span class="name">imageData</span>() const</h3>
<p>Returns the data of the images used by this texture.</p>
<!-- @@@imageData -->
<!-- $$$isAutoMipMapGenerationEnabled[overload1]$$$isAutoMipMapGenerationEnabled -->
<h3 class="fn" id="isAutoMipMapGenerationEnabled"><a name="isAutoMipMapGenerationEnabled"></a><span class="type">bool</span> QTextureData::<span class="name">isAutoMipMapGenerationEnabled</span>() const</h3>
<p>Returns whether the texture has auto mipmap generation enabled.</p>
<!-- @@@isAutoMipMapGenerationEnabled -->
<!-- $$$layers[overload1]$$$layers -->
<h3 class="fn" id="layers"><a name="layers"></a><span class="type">int</span> QTextureData::<span class="name">layers</span>() const</h3>
<p>Returns the texture layers.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#setLayers">setLayers</a>().</p>
<!-- @@@layers -->
<!-- $$$magnificationFilter[overload1]$$$magnificationFilter -->
<h3 class="fn" id="magnificationFilter"><a name="magnificationFilter"></a><span class="type"><a href="qt3drender-qabstracttexture.html#Filter-enum">QAbstractTexture::Filter</a></span> QTextureData::<span class="name">magnificationFilter</span>() const</h3>
<p>Returns the current magnification filter.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#setMagnificationFilter">setMagnificationFilter</a>().</p>
<!-- @@@magnificationFilter -->
<!-- $$$maximumAnisotropy[overload1]$$$maximumAnisotropy -->
<h3 class="fn" id="maximumAnisotropy"><a name="maximumAnisotropy"></a><span class="type">float</span> QTextureData::<span class="name">maximumAnisotropy</span>() const</h3>
<p>Returns the current maximum anisotropy.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#setMaximumAnisotropy">setMaximumAnisotropy</a>().</p>
<!-- @@@maximumAnisotropy -->
<!-- $$$minificationFilter[overload1]$$$minificationFilter -->
<h3 class="fn" id="minificationFilter"><a name="minificationFilter"></a><span class="type"><a href="qt3drender-qabstracttexture.html#Filter-enum">QAbstractTexture::Filter</a></span> QTextureData::<span class="name">minificationFilter</span>() const</h3>
<p>Returns the current minification filter.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#setMinificationFilter">setMinificationFilter</a>().</p>
<!-- @@@minificationFilter -->
<!-- $$$setAutoMipMapGenerationEnabled[overload1]$$$setAutoMipMapGenerationEnabledbool -->
<h3 class="fn" id="setAutoMipMapGenerationEnabled"><a name="setAutoMipMapGenerationEnabled"></a><span class="type">void</span> QTextureData::<span class="name">setAutoMipMapGenerationEnabled</span>(<span class="type">bool</span> <i>autoMipMap</i>)</h3>
<p>Sets whether the texture has automatic mipmap generation enabled, to <i>autoMipMap</i>.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#isAutoMipMapGenerationEnabled">isAutoMipMapGenerationEnabled</a>().</p>
<!-- @@@setAutoMipMapGenerationEnabled -->
<!-- $$$setComparisonFunction[overload1]$$$setComparisonFunctionQAbstractTexture::ComparisonFunction -->
<h3 class="fn" id="setComparisonFunction"><a name="setComparisonFunction"></a><span class="type">void</span> QTextureData::<span class="name">setComparisonFunction</span>(<span class="type"><a href="qt3drender-qabstracttexture.html#ComparisonFunction-enum">QAbstractTexture::ComparisonFunction</a></span> <i>comparisonFunction</i>)</h3>
<p>Sets the comparison function to <i>comparisonFunction</i>.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#comparisonFunction">comparisonFunction</a>().</p>
<!-- @@@setComparisonFunction -->
<!-- $$$setComparisonMode[overload1]$$$setComparisonModeQAbstractTexture::ComparisonMode -->
<h3 class="fn" id="setComparisonMode"><a name="setComparisonMode"></a><span class="type">void</span> QTextureData::<span class="name">setComparisonMode</span>(<span class="type"><a href="qt3drender-qabstracttexture.html#ComparisonMode-enum">QAbstractTexture::ComparisonMode</a></span> <i>comparisonMode</i>)</h3>
<p>Sets the comparison mode to <i>comparisonMode</i>.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#comparisonMode">comparisonMode</a>().</p>
<!-- @@@setComparisonMode -->
<!-- $$$setDepth[overload1]$$$setDepthint -->
<h3 class="fn" id="setDepth"><a name="setDepth"></a><span class="type">void</span> QTextureData::<span class="name">setDepth</span>(<span class="type">int</span> <i>depth</i>)</h3>
<p>Sets the texture depth to <i>depth</i></p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#depth">depth</a>().</p>
<!-- @@@setDepth -->
<!-- $$$setFormat[overload1]$$$setFormatQAbstractTexture::TextureFormat -->
<h3 class="fn" id="setFormat"><a name="setFormat"></a><span class="type">void</span> QTextureData::<span class="name">setFormat</span>(<span class="type"><a href="qt3drender-qabstracttexture.html#TextureFormat-enum">QAbstractTexture::TextureFormat</a></span> <i>format</i>)</h3>
<p>Sets the texture format to <i>format</i>.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#format">format</a>().</p>
<!-- @@@setFormat -->
<!-- $$$setHeight[overload1]$$$setHeightint -->
<h3 class="fn" id="setHeight"><a name="setHeight"></a><span class="type">void</span> QTextureData::<span class="name">setHeight</span>(<span class="type">int</span> <i>height</i>)</h3>
<p>Sets the target height to <i>height</i>.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#height">height</a>().</p>
<!-- @@@setHeight -->
<!-- $$$setLayers[overload1]$$$setLayersint -->
<h3 class="fn" id="setLayers"><a name="setLayers"></a><span class="type">void</span> QTextureData::<span class="name">setLayers</span>(<span class="type">int</span> <i>layers</i>)</h3>
<p>Sets the texture layers to <i>layers</i>.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#layers">layers</a>().</p>
<!-- @@@setLayers -->
<!-- $$$setMagnificationFilter[overload1]$$$setMagnificationFilterQAbstractTexture::Filter -->
<h3 class="fn" id="setMagnificationFilter"><a name="setMagnificationFilter"></a><span class="type">void</span> QTextureData::<span class="name">setMagnificationFilter</span>(<span class="type"><a href="qt3drender-qabstracttexture.html#Filter-enum">QAbstractTexture::Filter</a></span> <i>filter</i>)</h3>
<p>Sets the magnification filter to <i>filter</i>.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#magnificationFilter">magnificationFilter</a>().</p>
<!-- @@@setMagnificationFilter -->
<!-- $$$setMaximumAnisotropy[overload1]$$$setMaximumAnisotropyfloat -->
<h3 class="fn" id="setMaximumAnisotropy"><a name="setMaximumAnisotropy"></a><span class="type">void</span> QTextureData::<span class="name">setMaximumAnisotropy</span>(<span class="type">float</span> <i>maximumAnisotropy</i>)</h3>
<p>Sets the maximum anisotropy to <i>maximumAnisotropy</i>.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#maximumAnisotropy">maximumAnisotropy</a>().</p>
<!-- @@@setMaximumAnisotropy -->
<!-- $$$setMinificationFilter[overload1]$$$setMinificationFilterQAbstractTexture::Filter -->
<h3 class="fn" id="setMinificationFilter"><a name="setMinificationFilter"></a><span class="type">void</span> QTextureData::<span class="name">setMinificationFilter</span>(<span class="type"><a href="qt3drender-qabstracttexture.html#Filter-enum">QAbstractTexture::Filter</a></span> <i>filter</i>)</h3>
<p>Sets the minification filter to <i>filter</i>.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#minificationFilter">minificationFilter</a>().</p>
<!-- @@@setMinificationFilter -->
<!-- $$$setTarget[overload1]$$$setTargetQAbstractTexture::Target -->
<h3 class="fn" id="setTarget"><a name="setTarget"></a><span class="type">void</span> QTextureData::<span class="name">setTarget</span>(<span class="type"><a href="qt3drender-qabstracttexture.html#Target-enum">QAbstractTexture::Target</a></span> <i>target</i>)</h3>
<p>Sets the target texture to <i>target</i>.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#target">target</a>().</p>
<!-- @@@setTarget -->
<!-- $$$setWidth[overload1]$$$setWidthint -->
<h3 class="fn" id="setWidth"><a name="setWidth"></a><span class="type">void</span> QTextureData::<span class="name">setWidth</span>(<span class="type">int</span> <i>width</i>)</h3>
<p>Sets the texture width to <i>width</i>.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#width">width</a>().</p>
<!-- @@@setWidth -->
<!-- $$$setWrapModeX[overload1]$$$setWrapModeXQTextureWrapMode::WrapMode -->
<h3 class="fn" id="setWrapModeX"><a name="setWrapModeX"></a><span class="type">void</span> QTextureData::<span class="name">setWrapModeX</span>(<span class="type"><a href="qt3drender-qtexturewrapmode.html#WrapMode-enum">QTextureWrapMode::WrapMode</a></span> <i>wrapModeX</i>)</h3>
<p>Sets the wrap mode X to <i>wrapModeX</i>.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#wrapModeX">wrapModeX</a>().</p>
<!-- @@@setWrapModeX -->
<!-- $$$setWrapModeY[overload1]$$$setWrapModeYQTextureWrapMode::WrapMode -->
<h3 class="fn" id="setWrapModeY"><a name="setWrapModeY"></a><span class="type">void</span> QTextureData::<span class="name">setWrapModeY</span>(<span class="type"><a href="qt3drender-qtexturewrapmode.html#WrapMode-enum">QTextureWrapMode::WrapMode</a></span> <i>wrapModeY</i>)</h3>
<p>Sets the wrap mode Y to <i>wrapModeY</i>.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#wrapModeY">wrapModeY</a>().</p>
<!-- @@@setWrapModeY -->
<!-- $$$setWrapModeZ[overload1]$$$setWrapModeZQTextureWrapMode::WrapMode -->
<h3 class="fn" id="setWrapModeZ"><a name="setWrapModeZ"></a><span class="type">void</span> QTextureData::<span class="name">setWrapModeZ</span>(<span class="type"><a href="qt3drender-qtexturewrapmode.html#WrapMode-enum">QTextureWrapMode::WrapMode</a></span> <i>wrapModeZ</i>)</h3>
<p>Sets the wrap mode Z to <i>wrapModeZ</i>.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#wrapModeZ">wrapModeZ</a>().</p>
<!-- @@@setWrapModeZ -->
<!-- $$$target[overload1]$$$target -->
<h3 class="fn" id="target"><a name="target"></a><span class="type"><a href="qt3drender-qabstracttexture.html#Target-enum">QAbstractTexture::Target</a></span> QTextureData::<span class="name">target</span>() const</h3>
<p>Returns the texture data target.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#setTarget">setTarget</a>().</p>
<!-- @@@target -->
<!-- $$$width[overload1]$$$width -->
<h3 class="fn" id="width"><a name="width"></a><span class="type">int</span> QTextureData::<span class="name">width</span>() const</h3>
<p>Returns the texture width.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#setWidth">setWidth</a>().</p>
<!-- @@@width -->
<!-- $$$wrapModeX[overload1]$$$wrapModeX -->
<h3 class="fn" id="wrapModeX"><a name="wrapModeX"></a><span class="type"><a href="qt3drender-qtexturewrapmode.html#WrapMode-enum">QTextureWrapMode::WrapMode</a></span> QTextureData::<span class="name">wrapModeX</span>() const</h3>
<p>Returns the current wrap mode X.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#setWrapModeX">setWrapModeX</a>().</p>
<!-- @@@wrapModeX -->
<!-- $$$wrapModeY[overload1]$$$wrapModeY -->
<h3 class="fn" id="wrapModeY"><a name="wrapModeY"></a><span class="type"><a href="qt3drender-qtexturewrapmode.html#WrapMode-enum">QTextureWrapMode::WrapMode</a></span> QTextureData::<span class="name">wrapModeY</span>() const</h3>
<p>Returns the current wrap mode Y.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#setWrapModeY">setWrapModeY</a>().</p>
<!-- @@@wrapModeY -->
<!-- $$$wrapModeZ[overload1]$$$wrapModeZ -->
<h3 class="fn" id="wrapModeZ"><a name="wrapModeZ"></a><span class="type"><a href="qt3drender-qtexturewrapmode.html#WrapMode-enum">QTextureWrapMode::WrapMode</a></span> QTextureData::<span class="name">wrapModeZ</span>() const</h3>
<p>Returns the current wrap mode Z.</p>
<p><b>See also </b><a href="qt3drender-qtexturedata.html#setWrapModeZ">setWrapModeZ</a>().</p>
<!-- @@@wrapModeZ -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 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>