jsc3d-rails 1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +8 -0
- data/Gemfile +4 -0
- data/LICENSE +21 -0
- data/README.md +33 -0
- data/jsc3d-rails.gemspec +23 -0
- data/lib/generators/jquery/install/install_generator.rb +59 -0
- data/lib/jsc3d-rails.rb +1 -0
- data/lib/jsc3d/rails.rb +8 -0
- data/lib/jsc3d/rails/engine.rb +6 -0
- data/lib/jsc3d/rails/version.rb +6 -0
- data/vendor/assets/javascripts/bin/jsc3d.min.js +139 -0
- data/vendor/assets/javascripts/bin/jsc3d_ie.min.js +133 -0
- data/vendor/assets/javascripts/build/compile.bat +1 -0
- data/vendor/assets/javascripts/build/compile.sh +2 -0
- data/vendor/assets/javascripts/build/gendoc.bat +2 -0
- data/vendor/assets/javascripts/build/gendoc.sh +2 -0
- data/vendor/assets/javascripts/docs/files.html +247 -0
- data/vendor/assets/javascripts/docs/index.html +349 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.AABB.html +436 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.BinaryStream.html +1051 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.LoaderSelector.html +455 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.Material.html +430 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.Math3D.html +468 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.Matrix3x4.html +682 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.Mesh.html +628 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.ObjLoader.html +428 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.PickInfo.html +332 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.Scene.html +571 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.StlLoader.html +473 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.Texture.html +589 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.Viewer.html +1156 -0
- data/vendor/assets/javascripts/docs/symbols/JSC3D.html +329 -0
- data/vendor/assets/javascripts/docs/symbols/_global_.html +279 -0
- data/vendor/assets/javascripts/docs/symbols/src/jsc3d.js.html +4804 -0
- data/vendor/assets/javascripts/jsc3d.console.js +146 -0
- data/vendor/assets/javascripts/jsc3d.js +4796 -0
- data/vendor/assets/javascripts/jsc3d_ie.js +4487 -0
- data/vendor/assets/javascripts/tools/closure/COPYING +202 -0
- data/vendor/assets/javascripts/tools/closure/README +261 -0
- data/vendor/assets/javascripts/tools/closure/USAGE +87 -0
- data/vendor/assets/javascripts/tools/closure/compiler.jar +0 -0
- data/vendor/assets/javascripts/tools/doc_generator/README.txt +146 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/frame.js +33 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/frame/Chain.js +102 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/frame/Dumper.js +144 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/frame/Hash.js +84 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/frame/Link.js +148 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/frame/Namespace.js +10 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/frame/Opt.js +134 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/frame/Reflection.js +26 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/frame/String.js +93 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/frame/Testrun.js +129 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/handlers/FOODOC.js +26 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/handlers/XMLDOC.js +26 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/handlers/XMLDOC/DomReader.js +159 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/handlers/XMLDOC/XMLDoc.js +16 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/handlers/XMLDOC/XMLParse.js +292 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC.js +101 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/DocComment.js +200 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/DocTag.js +294 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/JsDoc.js +126 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/JsPlate.js +109 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/Lang.js +144 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/Parser.js +107 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/PluginManager.js +33 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/Symbol.js +643 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/SymbolSet.js +229 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/TextStream.js +41 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/Token.js +18 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/TokenReader.js +332 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/TokenStream.js +133 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/Util.js +32 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/lib/JSDOC/Walker.js +459 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/main.js +111 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/plugins/commentSrcJson.js +20 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/plugins/frameworkPrototype.js +16 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/plugins/functionCall.js +10 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/plugins/publishSrcHilite.js +62 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/plugins/symbolLink.js +9 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/plugins/tagParamConfig.js +31 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/plugins/tagSynonyms.js +43 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/run.js +348 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/t/TestDoc.js +144 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/t/runner.js +13 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test.js +307 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/addon.js +24 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/anon_inner.js +14 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/augments.js +31 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/augments2.js +26 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/borrows.js +41 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/borrows2.js +23 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/config.js +22 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/constructs.js +18 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/encoding.js +10 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/encoding_other.js +12 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/event.js +54 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/functions_anon.js +39 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/functions_nested.js +33 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/global.js +13 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/globals.js +25 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/ignore.js +10 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/inner.js +16 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/jsdoc_test.js +477 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/lend.js +33 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/memberof.js +19 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/memberof_constructor.js +17 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/name.js +19 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/namespace_nested.js +23 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/nocode.js +13 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/oblit_anon.js +20 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/overview.js +20 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/param_inline.js +37 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/params_optional.js +8 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/prototype.js +17 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/prototype_nested.js +9 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/prototype_oblit.js +13 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/prototype_oblit_constructor.js +24 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/public.js +10 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/shared.js +42 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/shared2.js +2 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/shortcuts.js +22 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/static_this.js +13 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/synonyms.js +31 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/tosource.js +23 -0
- data/vendor/assets/javascripts/tools/doc_generator/app/test/variable_redefine.js +14 -0
- data/vendor/assets/javascripts/tools/doc_generator/changes.txt +75 -0
- data/vendor/assets/javascripts/tools/doc_generator/conf/sample.conf +31 -0
- data/vendor/assets/javascripts/tools/doc_generator/java/build.xml +36 -0
- data/vendor/assets/javascripts/tools/doc_generator/java/build_1.4.xml +36 -0
- data/vendor/assets/javascripts/tools/doc_generator/java/classes/js.jar +0 -0
- data/vendor/assets/javascripts/tools/doc_generator/java/src/JsDebugRun.java +21 -0
- data/vendor/assets/javascripts/tools/doc_generator/java/src/JsRun.java +21 -0
- data/vendor/assets/javascripts/tools/doc_generator/jsdebug.jar +0 -0
- data/vendor/assets/javascripts/tools/doc_generator/jsrun.jar +0 -0
- data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/allclasses.tmpl +17 -0
- data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/allfiles.tmpl +56 -0
- data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/class.tmpl +646 -0
- data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/index.tmpl +39 -0
- data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/publish.js +184 -0
- data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/static/default.css +165 -0
- data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/static/header.html +2 -0
- data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/static/index.html +19 -0
- data/vendor/assets/javascripts/tools/doc_generator/templates/jsdoc/symbol.tmpl +35 -0
- metadata +234 -0
@@ -0,0 +1,589 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
6
|
+
<meta name="generator" content="JsDoc Toolkit" />
|
7
|
+
|
8
|
+
<title>JsDoc Reference - JSC3D.Texture</title>
|
9
|
+
|
10
|
+
<style type="text/css">
|
11
|
+
/* default.css */
|
12
|
+
|
13
|
+
|
14
|
+
body
|
15
|
+
{
|
16
|
+
font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
|
17
|
+
width: 800px;
|
18
|
+
}
|
19
|
+
|
20
|
+
.header
|
21
|
+
{
|
22
|
+
clear: both;
|
23
|
+
background-color: #ccc;
|
24
|
+
padding: 8px;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1
|
28
|
+
{
|
29
|
+
font-size: 150%;
|
30
|
+
font-weight: bold;
|
31
|
+
padding: 0;
|
32
|
+
margin: 1em 0 0 .3em;
|
33
|
+
}
|
34
|
+
|
35
|
+
hr
|
36
|
+
{
|
37
|
+
border: none 0;
|
38
|
+
border-top: 1px solid #7F8FB1;
|
39
|
+
height: 1px;
|
40
|
+
}
|
41
|
+
|
42
|
+
pre.code
|
43
|
+
{
|
44
|
+
display: inline;
|
45
|
+
// padding: 8px;
|
46
|
+
// border: 1px dashed #ccc;
|
47
|
+
background-color: #4AA02C;
|
48
|
+
}
|
49
|
+
|
50
|
+
#index
|
51
|
+
{
|
52
|
+
margin-top: 24px;
|
53
|
+
float: left;
|
54
|
+
width: 160px;
|
55
|
+
position: absolute;
|
56
|
+
left: 8px;
|
57
|
+
background-color: #F3F3F3;
|
58
|
+
padding: 8px;
|
59
|
+
}
|
60
|
+
|
61
|
+
#content
|
62
|
+
{
|
63
|
+
margin-left: 190px;
|
64
|
+
width: 600px;
|
65
|
+
}
|
66
|
+
|
67
|
+
.classList
|
68
|
+
{
|
69
|
+
list-style-type: none;
|
70
|
+
padding: 0;
|
71
|
+
margin: 0 0 0 8px;
|
72
|
+
font-family: arial, sans-serif;
|
73
|
+
font-size: 1em;
|
74
|
+
overflow: auto;
|
75
|
+
}
|
76
|
+
|
77
|
+
.classList li
|
78
|
+
{
|
79
|
+
padding: 0;
|
80
|
+
margin: 0 0 8px 0;
|
81
|
+
}
|
82
|
+
|
83
|
+
.summaryTable { width: 100%; }
|
84
|
+
|
85
|
+
h1.classTitle
|
86
|
+
{
|
87
|
+
font-size:170%;
|
88
|
+
line-height:130%;
|
89
|
+
}
|
90
|
+
|
91
|
+
h2 { font-size: 110%; }
|
92
|
+
caption, div.sectionTitle
|
93
|
+
{
|
94
|
+
background-color: #7F8FB1;
|
95
|
+
color: #fff;
|
96
|
+
font-size:130%;
|
97
|
+
text-align: left;
|
98
|
+
padding: 2px 6px 2px 6px;
|
99
|
+
border: 1px #7F8FB1 solid;
|
100
|
+
}
|
101
|
+
|
102
|
+
div.sectionTitle { margin-bottom: 8px; }
|
103
|
+
.summaryTable thead { display: none; }
|
104
|
+
|
105
|
+
.summaryTable td
|
106
|
+
{
|
107
|
+
vertical-align: top;
|
108
|
+
padding: 4px;
|
109
|
+
border-bottom: 1px #7F8FB1 solid;
|
110
|
+
border-right: 1px #7F8FB1 solid;
|
111
|
+
}
|
112
|
+
|
113
|
+
/*col#summaryAttributes {}*/
|
114
|
+
.summaryTable td.attributes
|
115
|
+
{
|
116
|
+
border-left: 1px #7F8FB1 solid;
|
117
|
+
width: 140px;
|
118
|
+
text-align: right;
|
119
|
+
}
|
120
|
+
|
121
|
+
td.attributes, .fixedFont
|
122
|
+
{
|
123
|
+
line-height: 15px;
|
124
|
+
color: #002EBE;
|
125
|
+
font-family: "Courier New",Courier,monospace;
|
126
|
+
font-size: 13px;
|
127
|
+
}
|
128
|
+
|
129
|
+
.summaryTable td.nameDescription
|
130
|
+
{
|
131
|
+
text-align: left;
|
132
|
+
font-size: 13px;
|
133
|
+
line-height: 15px;
|
134
|
+
}
|
135
|
+
|
136
|
+
.summaryTable td.nameDescription, .description
|
137
|
+
{
|
138
|
+
line-height: 15px;
|
139
|
+
padding: 4px;
|
140
|
+
padding-left: 4px;
|
141
|
+
}
|
142
|
+
|
143
|
+
.summaryTable { margin-bottom: 8px; }
|
144
|
+
|
145
|
+
ul.inheritsList
|
146
|
+
{
|
147
|
+
list-style: square;
|
148
|
+
margin-left: 20px;
|
149
|
+
padding-left: 0;
|
150
|
+
}
|
151
|
+
|
152
|
+
.detailList {
|
153
|
+
margin-left: 20px;
|
154
|
+
line-height: 15px;
|
155
|
+
}
|
156
|
+
.detailList dt { margin-left: 20px; }
|
157
|
+
|
158
|
+
.detailList .heading
|
159
|
+
{
|
160
|
+
font-weight: bold;
|
161
|
+
padding-bottom: 6px;
|
162
|
+
margin-left: 0;
|
163
|
+
}
|
164
|
+
|
165
|
+
.light, td.attributes, .light a:link, .light a:visited
|
166
|
+
{
|
167
|
+
color: #777;
|
168
|
+
font-style: italic;
|
169
|
+
}
|
170
|
+
|
171
|
+
.fineprint
|
172
|
+
{
|
173
|
+
text-align: right;
|
174
|
+
font-size: 10px;
|
175
|
+
}
|
176
|
+
</style>
|
177
|
+
</head>
|
178
|
+
|
179
|
+
<body>
|
180
|
+
<!-- ============================== header ================================= -->
|
181
|
+
<!-- begin static/header.html -->
|
182
|
+
<div id="header">
|
183
|
+
</div>
|
184
|
+
<!-- end static/header.html -->
|
185
|
+
|
186
|
+
<!-- ============================== classes index ============================ -->
|
187
|
+
<div id="index">
|
188
|
+
<!-- begin publish.classesIndex -->
|
189
|
+
<div align="center"><a href="../index.html">Class Index</a>
|
190
|
+
| <a href="../files.html">File Index</a></div>
|
191
|
+
<hr />
|
192
|
+
<h2>Classes</h2>
|
193
|
+
<ul class="classList">
|
194
|
+
|
195
|
+
<li><i><a href="../symbols/_global_.html">_global_</a></i></li>
|
196
|
+
|
197
|
+
<li><a href="../symbols/JSC3D.html">JSC3D</a></li>
|
198
|
+
|
199
|
+
<li><a href="../symbols/JSC3D.AABB.html">JSC3D.AABB</a></li>
|
200
|
+
|
201
|
+
<li><a href="../symbols/JSC3D.BinaryStream.html">JSC3D.BinaryStream</a></li>
|
202
|
+
|
203
|
+
<li><a href="../symbols/JSC3D.LoaderSelector.html">JSC3D.LoaderSelector</a></li>
|
204
|
+
|
205
|
+
<li><a href="../symbols/JSC3D.Material.html">JSC3D.Material</a></li>
|
206
|
+
|
207
|
+
<li><a href="../symbols/JSC3D.Math3D.html">JSC3D.Math3D</a></li>
|
208
|
+
|
209
|
+
<li><a href="../symbols/JSC3D.Matrix3x4.html">JSC3D.Matrix3x4</a></li>
|
210
|
+
|
211
|
+
<li><a href="../symbols/JSC3D.Mesh.html">JSC3D.Mesh</a></li>
|
212
|
+
|
213
|
+
<li><a href="../symbols/JSC3D.ObjLoader.html">JSC3D.ObjLoader</a></li>
|
214
|
+
|
215
|
+
<li><a href="../symbols/JSC3D.PickInfo.html">JSC3D.PickInfo</a></li>
|
216
|
+
|
217
|
+
<li><a href="../symbols/JSC3D.Scene.html">JSC3D.Scene</a></li>
|
218
|
+
|
219
|
+
<li><a href="../symbols/JSC3D.StlLoader.html">JSC3D.StlLoader</a></li>
|
220
|
+
|
221
|
+
<li><a href="../symbols/JSC3D.Texture.html">JSC3D.Texture</a></li>
|
222
|
+
|
223
|
+
<li><a href="../symbols/JSC3D.Viewer.html">JSC3D.Viewer</a></li>
|
224
|
+
|
225
|
+
</ul>
|
226
|
+
<hr />
|
227
|
+
<!-- end publish.classesIndex -->
|
228
|
+
</div>
|
229
|
+
|
230
|
+
<div id="content">
|
231
|
+
<!-- ============================== class title ============================ -->
|
232
|
+
<h1 class="classTitle">
|
233
|
+
|
234
|
+
Class JSC3D.Texture
|
235
|
+
</h1>
|
236
|
+
|
237
|
+
<!-- ============================== class summary ========================== -->
|
238
|
+
<p class="description">
|
239
|
+
|
240
|
+
|
241
|
+
Texture
|
242
|
+
|
243
|
+
This class implements texture which describes the surface details for a mesh.
|
244
|
+
|
245
|
+
|
246
|
+
<br /><i>Defined in: </i> <a href="../symbols/src/jsc3d.js.html">jsc3d.js</a>.
|
247
|
+
|
248
|
+
</p>
|
249
|
+
|
250
|
+
<!-- ============================== constructor summary ==================== -->
|
251
|
+
|
252
|
+
<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class JSC3D.Texture.">
|
253
|
+
<caption>Class Summary</caption>
|
254
|
+
<thead>
|
255
|
+
<tr>
|
256
|
+
<th scope="col">Constructor Attributes</th>
|
257
|
+
<th scope="col">Constructor Name and Description</th>
|
258
|
+
</tr>
|
259
|
+
</thead>
|
260
|
+
<tbody>
|
261
|
+
<tr>
|
262
|
+
<td class="attributes"> </td>
|
263
|
+
<td class="nameDescription" >
|
264
|
+
<div class="fixedFont">
|
265
|
+
<b><a href="../symbols/JSC3D.Texture.html">JSC3D.Texture</a></b>(name, onready)
|
266
|
+
</div>
|
267
|
+
<div class="description"></div>
|
268
|
+
</td>
|
269
|
+
</tr>
|
270
|
+
</tbody>
|
271
|
+
</table>
|
272
|
+
|
273
|
+
|
274
|
+
<!-- ============================== properties summary ===================== -->
|
275
|
+
|
276
|
+
|
277
|
+
<!-- ============================== methods summary ======================== -->
|
278
|
+
|
279
|
+
|
280
|
+
|
281
|
+
<table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class JSC3D.Texture.">
|
282
|
+
<caption>Method Summary</caption>
|
283
|
+
<thead>
|
284
|
+
<tr>
|
285
|
+
<th scope="col">Method Attributes</th>
|
286
|
+
<th scope="col">Method Name and Description</th>
|
287
|
+
</tr>
|
288
|
+
</thead>
|
289
|
+
<tbody>
|
290
|
+
|
291
|
+
<tr>
|
292
|
+
<td class="attributes"> </td>
|
293
|
+
<td class="nameDescription">
|
294
|
+
<div class="fixedFont"><b><a href="../symbols/JSC3D.Texture.html#createFromImage">createFromImage</a></b>(image, useMipmap)
|
295
|
+
</div>
|
296
|
+
<div class="description">Extract texture data from an exsisting image.</div>
|
297
|
+
</td>
|
298
|
+
</tr>
|
299
|
+
|
300
|
+
<tr>
|
301
|
+
<td class="attributes"> </td>
|
302
|
+
<td class="nameDescription">
|
303
|
+
<div class="fixedFont"><b><a href="../symbols/JSC3D.Texture.html#createFromUrl">createFromUrl</a></b>(imageUrl, useMipmap)
|
304
|
+
</div>
|
305
|
+
<div class="description">Load an image and extract texture data from it.</div>
|
306
|
+
</td>
|
307
|
+
</tr>
|
308
|
+
|
309
|
+
<tr>
|
310
|
+
<td class="attributes"> </td>
|
311
|
+
<td class="nameDescription">
|
312
|
+
<div class="fixedFont"><b><a href="../symbols/JSC3D.Texture.html#generateMipmaps">generateMipmaps</a></b>()
|
313
|
+
</div>
|
314
|
+
<div class="description">Generate mip-map pyramid for the texture.</div>
|
315
|
+
</td>
|
316
|
+
</tr>
|
317
|
+
|
318
|
+
<tr>
|
319
|
+
<td class="attributes"> </td>
|
320
|
+
<td class="nameDescription">
|
321
|
+
<div class="fixedFont"><b><a href="../symbols/JSC3D.Texture.html#hasData">hasData</a></b>()
|
322
|
+
</div>
|
323
|
+
<div class="description">See if this texture contains texel data.</div>
|
324
|
+
</td>
|
325
|
+
</tr>
|
326
|
+
|
327
|
+
<tr>
|
328
|
+
<td class="attributes"> </td>
|
329
|
+
<td class="nameDescription">
|
330
|
+
<div class="fixedFont"><b><a href="../symbols/JSC3D.Texture.html#hasMipmap">hasMipmap</a></b>()
|
331
|
+
</div>
|
332
|
+
<div class="description">See if this texture has mip-maps.</div>
|
333
|
+
</td>
|
334
|
+
</tr>
|
335
|
+
|
336
|
+
</tbody>
|
337
|
+
</table>
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
<!-- ============================== events summary ======================== -->
|
343
|
+
|
344
|
+
|
345
|
+
<!-- ============================== constructor details ==================== -->
|
346
|
+
|
347
|
+
<div class="details"><a name="constructor"> </a>
|
348
|
+
<div class="sectionTitle">
|
349
|
+
Class Detail
|
350
|
+
</div>
|
351
|
+
|
352
|
+
<div class="fixedFont">
|
353
|
+
<b>JSC3D.Texture</b>(name, onready)
|
354
|
+
</div>
|
355
|
+
|
356
|
+
<div class="description">
|
357
|
+
|
358
|
+
|
359
|
+
</div>
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
|
364
|
+
|
365
|
+
<dl class="detailList">
|
366
|
+
<dt class="heading">Parameters:</dt>
|
367
|
+
|
368
|
+
<dt>
|
369
|
+
<b>name</b>
|
370
|
+
|
371
|
+
</dt>
|
372
|
+
<dd></dd>
|
373
|
+
|
374
|
+
<dt>
|
375
|
+
<b>onready</b>
|
376
|
+
|
377
|
+
</dt>
|
378
|
+
<dd></dd>
|
379
|
+
|
380
|
+
</dl>
|
381
|
+
|
382
|
+
|
383
|
+
|
384
|
+
|
385
|
+
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
</div>
|
390
|
+
|
391
|
+
|
392
|
+
<!-- ============================== field details ========================== -->
|
393
|
+
|
394
|
+
|
395
|
+
<!-- ============================== method details ========================= -->
|
396
|
+
|
397
|
+
<div class="sectionTitle">
|
398
|
+
Method Detail
|
399
|
+
</div>
|
400
|
+
|
401
|
+
<a name="createFromImage"> </a>
|
402
|
+
<div class="fixedFont">
|
403
|
+
|
404
|
+
|
405
|
+
<b>createFromImage</b>(image, useMipmap)
|
406
|
+
|
407
|
+
</div>
|
408
|
+
<div class="description">
|
409
|
+
Extract texture data from an exsisting image.
|
410
|
+
|
411
|
+
|
412
|
+
</div>
|
413
|
+
|
414
|
+
|
415
|
+
|
416
|
+
|
417
|
+
<dl class="detailList">
|
418
|
+
<dt class="heading">Parameters:</dt>
|
419
|
+
|
420
|
+
<dt>
|
421
|
+
<span class="light fixedFont">{Image}</span> <b>image</b>
|
422
|
+
|
423
|
+
</dt>
|
424
|
+
<dd>image as datasource of the texture.</dd>
|
425
|
+
|
426
|
+
<dt>
|
427
|
+
<span class="light fixedFont">{Boolean}</span> <b>useMipmap</b>
|
428
|
+
|
429
|
+
</dt>
|
430
|
+
<dd>set true to generate mip-maps; false(default) not to generate mip-maps.</dd>
|
431
|
+
|
432
|
+
</dl>
|
433
|
+
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
|
438
|
+
|
439
|
+
|
440
|
+
|
441
|
+
<hr />
|
442
|
+
|
443
|
+
<a name="createFromUrl"> </a>
|
444
|
+
<div class="fixedFont">
|
445
|
+
|
446
|
+
|
447
|
+
<b>createFromUrl</b>(imageUrl, useMipmap)
|
448
|
+
|
449
|
+
</div>
|
450
|
+
<div class="description">
|
451
|
+
Load an image and extract texture data from it.
|
452
|
+
|
453
|
+
|
454
|
+
</div>
|
455
|
+
|
456
|
+
|
457
|
+
|
458
|
+
|
459
|
+
<dl class="detailList">
|
460
|
+
<dt class="heading">Parameters:</dt>
|
461
|
+
|
462
|
+
<dt>
|
463
|
+
<span class="light fixedFont">{String}</span> <b>imageUrl</b>
|
464
|
+
|
465
|
+
</dt>
|
466
|
+
<dd>where to load the image.</dd>
|
467
|
+
|
468
|
+
<dt>
|
469
|
+
<span class="light fixedFont">{Boolean}</span> <b>useMipmap</b>
|
470
|
+
|
471
|
+
</dt>
|
472
|
+
<dd>set true to generate mip-maps; false(default) not to generate mip-maps.</dd>
|
473
|
+
|
474
|
+
</dl>
|
475
|
+
|
476
|
+
|
477
|
+
|
478
|
+
|
479
|
+
|
480
|
+
|
481
|
+
|
482
|
+
|
483
|
+
<hr />
|
484
|
+
|
485
|
+
<a name="generateMipmaps"> </a>
|
486
|
+
<div class="fixedFont">
|
487
|
+
|
488
|
+
|
489
|
+
<b>generateMipmaps</b>()
|
490
|
+
|
491
|
+
</div>
|
492
|
+
<div class="description">
|
493
|
+
Generate mip-map pyramid for the texture.
|
494
|
+
|
495
|
+
|
496
|
+
</div>
|
497
|
+
|
498
|
+
|
499
|
+
|
500
|
+
|
501
|
+
|
502
|
+
|
503
|
+
|
504
|
+
|
505
|
+
|
506
|
+
|
507
|
+
|
508
|
+
<hr />
|
509
|
+
|
510
|
+
<a name="hasData"> </a>
|
511
|
+
<div class="fixedFont">
|
512
|
+
|
513
|
+
<span class="light">{Boolean}</span>
|
514
|
+
<b>hasData</b>()
|
515
|
+
|
516
|
+
</div>
|
517
|
+
<div class="description">
|
518
|
+
See if this texture contains texel data.
|
519
|
+
|
520
|
+
|
521
|
+
</div>
|
522
|
+
|
523
|
+
|
524
|
+
|
525
|
+
|
526
|
+
|
527
|
+
|
528
|
+
|
529
|
+
|
530
|
+
<dl class="detailList">
|
531
|
+
<dt class="heading">Returns:</dt>
|
532
|
+
|
533
|
+
<dd><span class="light fixedFont">{Boolean}</span> true if it has texel data; false if not.</dd>
|
534
|
+
|
535
|
+
</dl>
|
536
|
+
|
537
|
+
|
538
|
+
|
539
|
+
|
540
|
+
<hr />
|
541
|
+
|
542
|
+
<a name="hasMipmap"> </a>
|
543
|
+
<div class="fixedFont">
|
544
|
+
|
545
|
+
<span class="light">{Boolean}</span>
|
546
|
+
<b>hasMipmap</b>()
|
547
|
+
|
548
|
+
</div>
|
549
|
+
<div class="description">
|
550
|
+
See if this texture has mip-maps.
|
551
|
+
|
552
|
+
|
553
|
+
</div>
|
554
|
+
|
555
|
+
|
556
|
+
|
557
|
+
|
558
|
+
|
559
|
+
|
560
|
+
|
561
|
+
|
562
|
+
<dl class="detailList">
|
563
|
+
<dt class="heading">Returns:</dt>
|
564
|
+
|
565
|
+
<dd><span class="light fixedFont">{Boolean}</span> true if it has mip-maps; false if not.</dd>
|
566
|
+
|
567
|
+
</dl>
|
568
|
+
|
569
|
+
|
570
|
+
|
571
|
+
|
572
|
+
|
573
|
+
|
574
|
+
|
575
|
+
|
576
|
+
<!-- ============================== event details ========================= -->
|
577
|
+
|
578
|
+
|
579
|
+
<hr />
|
580
|
+
</div>
|
581
|
+
|
582
|
+
|
583
|
+
<!-- ============================== footer ================================= -->
|
584
|
+
<div class="fineprint" style="clear:both">
|
585
|
+
|
586
|
+
Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Sat Oct 13 2012 19:21:53 GMT+0800 (CST)
|
587
|
+
</div>
|
588
|
+
</body>
|
589
|
+
</html>
|