This file is indexed.

/usr/share/qt5/doc/qtquick/qsgopaquetexturematerial.html is in qtdeclarative5-doc-html 5.2.1-3ubuntu15.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qsgtexturematerial.cpp -->
  <title>QSGOpaqueTextureMaterial Class | QtQuick 5.2</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
    <div class="main">
    <div class="main-rounded">
        <div class="navigationbar">
        <ul>
<li>Qt 5.2</li>
<li><a href="qtquick-index.html">Qt Quick</a></li>
<li><a href="qtquick-module.html">C++ Classes</a></li>
<li>QSGOpaqueTextureMaterial</li>
<li id="buildversion">
Qt 5.2.1 Reference Documentation</li>
    </ul>
    </div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<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>
<h1 class="title">QSGOpaqueTextureMaterial Class</h1>
<!-- $$$QSGOpaqueTextureMaterial-brief -->
<p>The QSGOpaqueTextureMaterial class provides a convenient way of rendering textured geometry in the scene graph. <a href="#details">More...</a></p>
<!-- @@@QSGOpaqueTextureMaterial -->
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> </b><tt><span class="preprocessor">#include &lt;QSGOpaqueTextureMaterial&gt;</span>
</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> <tt>QT += quick</tt></td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qsgmaterial.html">QSGMaterial</a>.</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherited By:</td><td class="memItemRight bottomAlign"> <p><a href="qsgtexturematerial.html">QSGTextureMaterial</a>.</p>
</td></tr></table><ul>
<li><a href="qsgopaquetexturematerial-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qsgopaquetexturematerial.html#QSGOpaqueTextureMaterial">QSGOpaqueTextureMaterial</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QSGTexture::Filtering </td><td class="memItemRight bottomAlign"><b><a href="qsgopaquetexturematerial.html#filtering">filtering</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QSGTexture::WrapMode </td><td class="memItemRight bottomAlign"><b><a href="qsgopaquetexturematerial.html#horizontalWrapMode">horizontalWrapMode</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QSGTexture::Filtering </td><td class="memItemRight bottomAlign"><b><a href="qsgopaquetexturematerial.html#mipmapFiltering">mipmapFiltering</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsgopaquetexturematerial.html#setFiltering">setFiltering</a></b>(QSGTexture::Filtering<i> filtering</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsgopaquetexturematerial.html#setHorizontalWrapMode">setHorizontalWrapMode</a></b>(QSGTexture::WrapMode<i> mode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsgopaquetexturematerial.html#setMipmapFiltering">setMipmapFiltering</a></b>(QSGTexture::Filtering<i> filtering</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsgopaquetexturematerial.html#setTexture">setTexture</a></b>(QSGTexture *<i> texture</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qsgopaquetexturematerial.html#setVerticalWrapMode">setVerticalWrapMode</a></b>(QSGTexture::WrapMode<i> mode</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QSGTexture * </td><td class="memItemRight bottomAlign"><b><a href="qsgopaquetexturematerial.html#texture">texture</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QSGTexture::WrapMode </td><td class="memItemRight bottomAlign"><b><a href="qsgopaquetexturematerial.html#verticalWrapMode">verticalWrapMode</a></b>() const</td></tr>
</table>
<ul>
<li class="fn">5 public functions inherited from <a href="qsgmaterial.html#public-functions">QSGMaterial</a></li>
</ul>
<a name="details"></a>
<!-- $$$QSGOpaqueTextureMaterial-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QSGOpaqueTextureMaterial class provides a convenient way of rendering textured geometry in the scene graph.</p>
<p>The opaque textured material will fill every pixel in a geometry with the supplied texture. The material does not respect the opacity of the <a href="qsgmaterialshader-renderstate.html">QSGMaterialShader::RenderState</a>, so opacity nodes in the parent chain of nodes using this material, have no effect.</p>
<p>The geometry to be rendered with an opaque texture material requires vertices in attribute location 0 and texture coordinates in attribute location 1. The texture coordinate is a 2-dimensional floating-point tuple. The QSGGeometry::defaultAttributes_TexturedPoint2D returns an attribute set compatible with this material.</p>
<p>The texture to be rendered can be set using <a href="qsgopaquetexturematerial.html#setTexture">setTexture</a>(). How the texture should be rendered can be specified using <a href="qsgopaquetexturematerial.html#setMipmapFiltering">setMipmapFiltering</a>(), <a href="qsgopaquetexturematerial.html#setFiltering">setFiltering</a>(), <a href="qsgopaquetexturematerial.html#setHorizontalWrapMode">setHorizontalWrapMode</a>() and <a href="qsgopaquetexturematerial.html#setVerticalWrapMode">setVerticalWrapMode</a>(). The rendering state is set on the texture instance just before it is bound.</p>
<p>The opaque textured material respects the current matrix and the alpha channel of the texture. It will disregard the accumulated opacity in the scenegraph.</p>
<p>A texture material must have a texture set before it is used as a material in the scene graph.</p>
</div>
<!-- @@@QSGOpaqueTextureMaterial -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QSGOpaqueTextureMaterial[overload1]$$$QSGOpaqueTextureMaterial -->
<h3 class="fn"><a name="QSGOpaqueTextureMaterial"></a>QSGOpaqueTextureMaterial::<span class="name">QSGOpaqueTextureMaterial</span>()</h3>
<p>Creates a new <a href="qsgopaquetexturematerial.html">QSGOpaqueTextureMaterial</a>.</p>
<p>The default mipmap filtering and filtering mode is set to <a href="qsgtexture.html#Filtering-enum">QSGTexture::Nearest</a>. The default wrap modes is set to <tt>QSGTexture::ClampToEdge</tt>.</p>
<!-- @@@QSGOpaqueTextureMaterial -->
<!-- $$$filtering[overload1]$$$filtering -->
<h3 class="fn"><a name="filtering"></a><span class="type"><a href="qsgtexture.html#Filtering-enum">QSGTexture::Filtering</a></span> QSGOpaqueTextureMaterial::<span class="name">filtering</span>() const</h3>
<p>Returns this material's filtering mode.</p>
<p>The default filtering is <tt>QSGTexture::Nearest</tt>.</p>
<p><b>See also </b><a href="qsgopaquetexturematerial.html#setFiltering">setFiltering</a>().</p>
<!-- @@@filtering -->
<!-- $$$horizontalWrapMode[overload1]$$$horizontalWrapMode -->
<h3 class="fn"><a name="horizontalWrapMode"></a><span class="type"><a href="qsgtexture.html#WrapMode-enum">QSGTexture::WrapMode</a></span> QSGOpaqueTextureMaterial::<span class="name">horizontalWrapMode</span>() const</h3>
<p>Returns this material's horizontal wrap mode.</p>
<p>The default horizontal wrap mode is <tt>QSGTexutre::ClampToEdge</tt>.</p>
<p><b>See also </b><a href="qsgopaquetexturematerial.html#setHorizontalWrapMode">setHorizontalWrapMode</a>().</p>
<!-- @@@horizontalWrapMode -->
<!-- $$$mipmapFiltering[overload1]$$$mipmapFiltering -->
<h3 class="fn"><a name="mipmapFiltering"></a><span class="type"><a href="qsgtexture.html#Filtering-enum">QSGTexture::Filtering</a></span> QSGOpaqueTextureMaterial::<span class="name">mipmapFiltering</span>() const</h3>
<p>Returns this material's mipmap filtering mode.</p>
<p>The default mipmap mode is <tt>QSGTexture::Nearest</tt>.</p>
<p><b>See also </b><a href="qsgopaquetexturematerial.html#setMipmapFiltering">setMipmapFiltering</a>().</p>
<!-- @@@mipmapFiltering -->
<!-- $$$setFiltering[overload1]$$$setFilteringQSGTexture::Filtering -->
<h3 class="fn"><a name="setFiltering"></a><span class="type">void</span> QSGOpaqueTextureMaterial::<span class="name">setFiltering</span>(<span class="type"><a href="qsgtexture.html#Filtering-enum">QSGTexture::Filtering</a></span><i> filtering</i>)</h3>
<p>Sets the filtering to <i>filtering</i>.</p>
<p>The filtering mode is set on the texture instance just before the texture is bound for rendering.</p>
<p><b>See also </b><a href="qsgopaquetexturematerial.html#filtering">filtering</a>().</p>
<!-- @@@setFiltering -->
<!-- $$$setHorizontalWrapMode[overload1]$$$setHorizontalWrapModeQSGTexture::WrapMode -->
<h3 class="fn"><a name="setHorizontalWrapMode"></a><span class="type">void</span> QSGOpaqueTextureMaterial::<span class="name">setHorizontalWrapMode</span>(<span class="type"><a href="qsgtexture.html#WrapMode-enum">QSGTexture::WrapMode</a></span><i> mode</i>)</h3>
<p>Sets the horizontal wrap mode to <i>mode</i>.</p>
<p>The horizontal wrap mode is set on the texture instance just before the texture is bound for rendering.</p>
<p><b>See also </b><a href="qsgopaquetexturematerial.html#horizontalWrapMode">horizontalWrapMode</a>().</p>
<!-- @@@setHorizontalWrapMode -->
<!-- $$$setMipmapFiltering[overload1]$$$setMipmapFilteringQSGTexture::Filtering -->
<h3 class="fn"><a name="setMipmapFiltering"></a><span class="type">void</span> QSGOpaqueTextureMaterial::<span class="name">setMipmapFiltering</span>(<span class="type"><a href="qsgtexture.html#Filtering-enum">QSGTexture::Filtering</a></span><i> filtering</i>)</h3>
<p>Sets the mipmap mode to <i>filtering</i>.</p>
<p>The mipmap filtering mode is set on the texture instance just before the texture is bound for rendering.</p>
<p>If the texture does not have mipmapping support, enabling mipmapping has no effect.</p>
<p><b>See also </b><a href="qsgopaquetexturematerial.html#mipmapFiltering">mipmapFiltering</a>().</p>
<!-- @@@setMipmapFiltering -->
<!-- $$$setTexture[overload1]$$$setTextureQSGTexture* -->
<h3 class="fn"><a name="setTexture"></a><span class="type">void</span> QSGOpaqueTextureMaterial::<span class="name">setTexture</span>(<span class="type"><a href="qsgtexture.html">QSGTexture</a></span> *<i> texture</i>)</h3>
<p>Sets the texture of this material to <i>texture</i>.</p>
<p>The material does not take ownership of the texture.</p>
<p><b>See also </b><a href="qsgopaquetexturematerial.html#texture">texture</a>().</p>
<!-- @@@setTexture -->
<!-- $$$setVerticalWrapMode[overload1]$$$setVerticalWrapModeQSGTexture::WrapMode -->
<h3 class="fn"><a name="setVerticalWrapMode"></a><span class="type">void</span> QSGOpaqueTextureMaterial::<span class="name">setVerticalWrapMode</span>(<span class="type"><a href="qsgtexture.html#WrapMode-enum">QSGTexture::WrapMode</a></span><i> mode</i>)</h3>
<p>Sets the vertical wrap mode to <i>mode</i>.</p>
<p>The vertical wrap mode is set on the texture instance just before the texture is bound for rendering.</p>
<p><b>See also </b><a href="qsgopaquetexturematerial.html#verticalWrapMode">verticalWrapMode</a>().</p>
<!-- @@@setVerticalWrapMode -->
<!-- $$$texture[overload1]$$$texture -->
<h3 class="fn"><a name="texture"></a><span class="type"><a href="qsgtexture.html">QSGTexture</a></span> * QSGOpaqueTextureMaterial::<span class="name">texture</span>() const</h3>
<p>Returns this texture material's texture.</p>
<p><b>See also </b><a href="qsgopaquetexturematerial.html#setTexture">setTexture</a>().</p>
<!-- @@@texture -->
<!-- $$$verticalWrapMode[overload1]$$$verticalWrapMode -->
<h3 class="fn"><a name="verticalWrapMode"></a><span class="type"><a href="qsgtexture.html#WrapMode-enum">QSGTexture::WrapMode</a></span> QSGOpaqueTextureMaterial::<span class="name">verticalWrapMode</span>() const</h3>
<p>Returns this material's vertical wrap mode.</p>
<p>The default vertical wrap mode is <tt>QSGTexutre::ClampToEdge</tt>.</p>
<p><b>See also </b><a href="qsgopaquetexturematerial.html#setVerticalWrapMode">setVerticalWrapMode</a>().</p>
<!-- @@@verticalWrapMode -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2013 Digia Plc and/or its
   subsidiaries. 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>    Digia, Qt and their respective logos are trademarks of Digia Plc     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>