libraries/EaselJS_docs/classes/WebGLInspector.html (view raw)
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="utf-8">
5 <link rel="stylesheet" href="../assets/css/yui-cssgrids-min.css">
6 <link rel="stylesheet" href="../assets/vendor/prettify/prettify-min.css">
7 <link rel="stylesheet" href="../assets/css/main.css" id="site_styles">
8 <link rel="shortcut icon" type="image/x-icon" href="../assets/favicon.ico">
9 <script src="../assets/js/yui-source.js"></script>
10 <title>EaselJS v1.0.0 API Documentation : WebGLInspector</title>
11</head>
12<body class="yui3-skin-sam">
13
14<div id="doc">
15 <div id="hd" class="yui3-g header">
16 <div class="yui3-u-3-4">
17
18 <h1><a href="http://www.createjs.com/easeljs"><img src="../assets/docs-icon-EaselJS.png" title="EaselJS"></a></h1>
19
20 </div>
21 <div class="version">
22 <em>API Documentation for: 1.0.0</em>
23 </div>
24 </div>
25 <div id="bd" class="yui3-g">
26
27 <div class="yui3-u-1-4">
28 <div id="docs-sidebar" class="sidebar apidocs">
29 <div id="api-list">
30 <h2 class="off-left">APIs</h2>
31 <div id="api-tabview" class="tabview">
32 <ul class="tabs">
33 <li><a href="#api-classes">Classes</a></li>
34 </ul>
35
36 <div id="api-tabview-filter">
37 <input type="search" id="api-filter" placeholder="Type to filter APIs">
38 </div>
39
40 <div id="api-tabview-panel">
41 <ul id="api-classes" class="apis classes">
42
43 <li><a href="../classes/AlphaMapFilter.html">AlphaMapFilter</a></li>
44
45 <li><a href="../classes/AlphaMaskFilter.html">AlphaMaskFilter</a></li>
46
47 <li><a href="../classes/Bitmap.html">Bitmap</a></li>
48
49 <li><a href="../classes/BitmapCache.html">BitmapCache</a></li>
50
51 <li><a href="../classes/BitmapText.html">BitmapText</a></li>
52
53 <li><a href="../classes/BlurFilter.html">BlurFilter</a></li>
54
55 <li><a href="../classes/ButtonHelper.html">ButtonHelper</a></li>
56
57 <li><a href="../classes/ColorFilter.html">ColorFilter</a></li>
58
59 <li><a href="../classes/ColorMatrix.html">ColorMatrix</a></li>
60
61 <li><a href="../classes/ColorMatrixFilter.html">ColorMatrixFilter</a></li>
62
63 <li><a href="../classes/Container.html">Container</a></li>
64
65 <li><a href="../classes/DisplayObject.html">DisplayObject</a></li>
66
67 <li><a href="../classes/DisplayProps.html">DisplayProps</a></li>
68
69 <li><a href="../classes/DOMElement.html">DOMElement</a></li>
70
71 <li><a href="../classes/EaselJS.html">EaselJS</a></li>
72
73 <li><a href="../classes/Event.html">Event</a></li>
74
75 <li><a href="../classes/EventDispatcher.html">EventDispatcher</a></li>
76
77 <li><a href="../classes/Filter.html">Filter</a></li>
78
79 <li><a href="../classes/Graphics.html">Graphics</a></li>
80
81 <li><a href="../classes/Graphics.Arc.html">Graphics.Arc</a></li>
82
83 <li><a href="../classes/Graphics.ArcTo.html">Graphics.ArcTo</a></li>
84
85 <li><a href="../classes/Graphics.BeginPath.html">Graphics.BeginPath</a></li>
86
87 <li><a href="../classes/Graphics.BezierCurveTo.html">Graphics.BezierCurveTo</a></li>
88
89 <li><a href="../classes/Graphics.Circle.html">Graphics.Circle</a></li>
90
91 <li><a href="../classes/Graphics.ClosePath.html">Graphics.ClosePath</a></li>
92
93 <li><a href="../classes/Graphics.Ellipse.html">Graphics.Ellipse</a></li>
94
95 <li><a href="../classes/Graphics.Fill.html">Graphics.Fill</a></li>
96
97 <li><a href="../classes/Graphics.LineTo.html">Graphics.LineTo</a></li>
98
99 <li><a href="../classes/Graphics.MoveTo.html">Graphics.MoveTo</a></li>
100
101 <li><a href="../classes/Graphics.PolyStar.html">Graphics.PolyStar</a></li>
102
103 <li><a href="../classes/Graphics.QuadraticCurveTo.html">Graphics.QuadraticCurveTo</a></li>
104
105 <li><a href="../classes/Graphics.Rect.html">Graphics.Rect</a></li>
106
107 <li><a href="../classes/Graphics.RoundRect.html">Graphics.RoundRect</a></li>
108
109 <li><a href="../classes/Graphics.Stroke.html">Graphics.Stroke</a></li>
110
111 <li><a href="../classes/Graphics.StrokeDash.html">Graphics.StrokeDash</a></li>
112
113 <li><a href="../classes/Graphics.StrokeStyle.html">Graphics.StrokeStyle</a></li>
114
115 <li><a href="../classes/Matrix2D.html">Matrix2D</a></li>
116
117 <li><a href="../classes/MouseEvent.html">MouseEvent</a></li>
118
119 <li><a href="../classes/MovieClip.html">MovieClip</a></li>
120
121 <li><a href="../classes/MovieClipPlugin.html">MovieClipPlugin</a></li>
122
123 <li><a href="../classes/Point.html">Point</a></li>
124
125 <li><a href="../classes/Rectangle.html">Rectangle</a></li>
126
127 <li><a href="../classes/Shadow.html">Shadow</a></li>
128
129 <li><a href="../classes/Shape.html">Shape</a></li>
130
131 <li><a href="../classes/Sprite.html">Sprite</a></li>
132
133 <li><a href="../classes/SpriteSheet.html">SpriteSheet</a></li>
134
135 <li><a href="../classes/SpriteSheetBuilder.html">SpriteSheetBuilder</a></li>
136
137 <li><a href="../classes/SpriteSheetUtils.html">SpriteSheetUtils</a></li>
138
139 <li><a href="../classes/Stage.html">Stage</a></li>
140
141 <li><a href="../classes/StageGL.html">StageGL</a></li>
142
143 <li><a href="../classes/Text.html">Text</a></li>
144
145 <li><a href="../classes/Ticker.html">Ticker</a></li>
146
147 <li><a href="../classes/Touch.html">Touch</a></li>
148
149 <li><a href="../classes/UID.html">UID</a></li>
150
151 <li><a href="../classes/Utility Methods.html">Utility Methods</a></li>
152
153 <li><a href="../classes/VideoBuffer.html">VideoBuffer</a></li>
154
155 <li><a href="../classes/WebGLInspector.html">WebGLInspector</a></li>
156
157 </ul>
158
159 <ul id="api-modules" class="apis modules">
160
161 <li><a href="../modules/CreateJS.html">CreateJS</a></li>
162
163 <li><a href="../modules/EaselJS.html">EaselJS</a></li>
164
165 </ul>
166 </div>
167 </div>
168</div>
169
170 </div>
171 </div>
172 <div class="yui3-u-3-4">
173 <div id="api-options">
174 Show:
175 <label for="api-show-inherited">
176 <input type="checkbox" id="api-show-inherited" checked>
177 Inherited
178 </label>
179
180 <label for="api-show-protected">
181 <input type="checkbox" id="api-show-protected">
182 Protected
183 </label>
184
185 <label for="api-show-private">
186 <input type="checkbox" id="api-show-private">
187 Private
188 </label>
189 <label for="api-show-deprecated">
190 <input type="checkbox" id="api-show-deprecated">
191 Deprecated
192 </label>
193
194 </div>
195 <div class="apidocs">
196 <div id="docs-main">
197 <div class="content">
198 <h1>WebGLInspector Class</h1>
199<div class="box meta">
200
201
202
203
204
205 <div class="foundat">
206 Defined in: <a href="../files/easeljs_utils_WebGLInspector.js.html#l38"><code>WebGLInspector:38</code></a>
207 </div>
208
209
210
211
212 Module: <a href="../modules/EaselJS.html">EaselJS</a>
213
214
215
216
217</div>
218
219
220
221<div class="box intro">
222 <p>A utility and helper class designed to work with <a href="../classes/StageGL.html" class="crosslink">StageGL</a> to help investigate and
223test performance or display problems. It contains logging functions to analyze behaviour and performance testing
224utilities.</p>
225
226</div>
227
228
229 <div class="constructor">
230 <h2>Constructor</h2>
231 <div id="method_WebGLInspector" class="method item">
232 <h3 class="name"><code>WebGLInspector</code></h3>
233
234
235 <div class="args">
236 <span class="paren">(</span><ul class="args-list inline commas">
237
238 <li class="arg">
239
240 <code>stage</code>
241
242 </li>
243
244 </ul><span class="paren">)</span>
245 </div>
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262 <div class="meta">
263
264
265
266 <p>
267
268 Defined in
269
270
271
272
273 <a href="../files/easeljs_utils_WebGLInspector.js.html#l38"><code>WebGLInspector:38</code></a>
274
275 </p>
276
277
278
279
280
281 </div>
282
283 <div class="description">
284
285 </div>
286
287
288 <div class="params">
289 <h4>Parameters:</h4>
290
291 <ul class="params-list">
292
293 <li class="param">
294
295 <code class="param-name">stage</code>
296 <span class="type"><a href="../classes/StageGL.html" class="crosslink">StageGL</a></span>
297
298
299
300
301 <div class="param-description">
302 <p>The default stage to use when none is supplied.</p>
303
304 </div>
305
306
307 </li>
308
309 </ul>
310 </div>
311
312
313
314
315
316</div>
317
318 </div>
319
320
321<div id="classdocs" class="tabview">
322 <ul class="api-class-tabs">
323 <li class="api-class-tab index"><a href="#index">Index</a></li>
324
325
326 <li class="api-class-tab methods"><a href="#methods">Methods</a></li>
327
328
329 <li class="api-class-tab properties"><a href="#properties">Properties</a></li>
330
331
332
333 </ul>
334
335 <div>
336 <div id="index" class="api-class-tabpanel index">
337 <h2 class="off-left">Item Index</h2>
338
339
340 <div class="index-section methods">
341 <h3>Methods</h3>
342
343 <ul class="index-list methods">
344
345 <li class="index-item method protected">
346 <a href="#method__initializeWebGL">_initializeWebGL</a>
347
348
349
350 </li>
351
352 <li class="index-item method">
353 <a href="#method_dispProps">dispProps</a>
354
355
356 <span class="flag static">static</span>
357
358
359 </li>
360
361 <li class="index-item method">
362 <a href="#method_log">log</a>
363
364
365
366 </li>
367
368 <li class="index-item method">
369 <a href="#method_logContextInfo">logContextInfo</a>
370
371
372
373 </li>
374
375 <li class="index-item method">
376 <a href="#method_logDepth">logDepth</a>
377
378
379
380 </li>
381
382 <li class="index-item method">
383 <a href="#method_logTextureFill">logTextureFill</a>
384
385
386
387 </li>
388
389 <li class="index-item method">
390 <a href="#method_toggleGPUDraw">toggleGPUDraw</a>
391
392
393
394 </li>
395
396 </ul>
397 </div>
398
399
400
401 <div class="index-section properties">
402 <h3>Properties</h3>
403
404 <ul class="index-list properties">
405
406 <li class="index-item property protected">
407 <a href="#property__stage">_stage</a>
408
409
410
411 </li>
412
413 <li class="index-item property protected">
414 <a href="#property_alternateOutput">alternateOutput</a>
415
416
417 <span class="flag static">static</span>
418
419
420 </li>
421
422 </ul>
423 </div>
424
425
426
427
428
429 </div>
430
431
432 <div id="methods" class="api-class-tabpanel">
433 <h2 class="off-left">Methods</h2>
434
435
436 <div id="method__initializeWebGL" class="method item protected">
437 <h3 class="name"><code>_initializeWebGL</code></h3>
438
439
440 <span class="paren">()</span>
441
442
443
444
445
446
447
448 <span class="flag protected">protected</span>
449
450
451
452
453
454
455
456
457
458
459 <div class="meta">
460
461
462
463 <p>
464
465 Defined in
466
467
468
469
470 <a href="../files/easeljs_utils_WebGLInspector.js.html#l80"><code>_initializeWebGL:80</code></a>
471
472 </p>
473
474
475
476
477
478 </div>
479
480 <div class="description">
481
482 </div>
483
484
485
486
487
488
489</div>
490
491
492 <div id="method_dispProps" class="method item">
493 <h3 class="name"><code>dispProps</code></h3>
494
495
496 <div class="args">
497 <span class="paren">(</span><ul class="args-list inline commas">
498
499 <li class="arg">
500
501 <code>prepend</code>
502
503 </li>
504
505 <li class="arg">
506
507 <code>item</code>
508
509 </li>
510
511 </ul><span class="paren">)</span>
512 </div>
513
514
515
516
517
518
519
520
521
522
523
524 <span class="flag static">static</span>
525
526
527
528
529
530
531 <div class="meta">
532
533
534
535 <p>
536
537 Defined in
538
539
540
541
542 <a href="../files/easeljs_utils_WebGLInspector.js.html#l218"><code>dispProps:218</code></a>
543
544 </p>
545
546
547
548
549
550 </div>
551
552 <div class="description">
553 <p>Utility function for use with {{#crossLink "logDepth"))((/crossLink}}. Logs an item's position and registration.
554Useful to see if something is being forced off screen or has an integer position.</p>
555
556 </div>
557
558
559 <div class="params">
560 <h4>Parameters:</h4>
561
562 <ul class="params-list">
563
564 <li class="param">
565
566 <code class="param-name">prepend</code>
567 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
568
569
570
571
572 <div class="param-description">
573 <p>The string to show before the item, usually formatting for a tree view.</p>
574
575 </div>
576
577
578 </li>
579
580 <li class="param">
581
582 <code class="param-name">item</code>
583 <span class="type"><a href="../classes/DisplayObject.html" class="crosslink">DisplayObject</a></span>
584
585
586
587
588 <div class="param-description">
589 <p>The item we're currently logging about.</p>
590
591 </div>
592
593
594 </li>
595
596 </ul>
597 </div>
598
599
600
601
602
603</div>
604
605
606 <div id="method_log" class="method item">
607 <h3 class="name"><code>log</code></h3>
608
609
610 <div class="args">
611 <span class="paren">(</span><ul class="args-list inline commas">
612
613 <li class="arg">
614
615 <code class="optional">[stage=this._stage]</code>
616
617 </li>
618
619 </ul><span class="paren">)</span>
620 </div>
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637 <div class="meta">
638
639
640
641 <p>
642
643 Defined in
644
645
646
647
648 <a href="../files/easeljs_utils_WebGLInspector.js.html#l87"><code>log:87</code></a>
649
650 </p>
651
652
653
654
655
656 </div>
657
658 <div class="description">
659 <p>Perform all of the logging reports at once.</p>
660
661 </div>
662
663
664 <div class="params">
665 <h4>Parameters:</h4>
666
667 <ul class="params-list">
668
669 <li class="param">
670
671 <code class="param-name optional">[stage=this._stage]</code>
672 <span class="type"><a href="../classes/StageGL.html" class="crosslink">StageGL</a></span>
673 <span class="flag optional" title="This parameter is optional.">optional</span>
674
675
676
677
678 <div class="param-description">
679 <p>The stage to log information for.</p>
680
681 </div>
682
683
684 </li>
685
686 </ul>
687 </div>
688
689
690
691
692
693</div>
694
695
696 <div id="method_logContextInfo" class="method item">
697 <h3 class="name"><code>logContextInfo</code></h3>
698
699
700 <div class="args">
701 <span class="paren">(</span><ul class="args-list inline commas">
702
703 <li class="arg">
704
705 <code>gl</code>
706
707 </li>
708
709 </ul><span class="paren">)</span>
710 </div>
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727 <div class="meta">
728
729
730
731 <p>
732
733 Defined in
734
735
736
737
738 <a href="../files/easeljs_utils_WebGLInspector.js.html#l157"><code>logContextInfo:157</code></a>
739
740 </p>
741
742
743
744
745
746 </div>
747
748 <div class="description">
749 <p>Examine the context and provide information about its capabilities.</p>
750
751 </div>
752
753
754 <div class="params">
755 <h4>Parameters:</h4>
756
757 <ul class="params-list">
758
759 <li class="param">
760
761 <code class="param-name">gl</code>
762 <span class="type">WebGLRenderingContext</span>
763
764
765
766
767 <div class="param-description">
768 <p>The WebGL context to inspect.</p>
769
770 </div>
771
772
773 </li>
774
775 </ul>
776 </div>
777
778
779
780
781
782</div>
783
784
785 <div id="method_logDepth" class="method item">
786 <h3 class="name"><code>logDepth</code></h3>
787
788
789 <div class="args">
790 <span class="paren">(</span><ul class="args-list inline commas">
791
792 <li class="arg">
793
794 <code class="optional">[children=this._stage.children]</code>
795
796 </li>
797
798 <li class="arg">
799
800 <code>prepend</code>
801
802 </li>
803
804 <li class="arg">
805
806 <code>customLog</code>
807
808 </li>
809
810 </ul><span class="paren">)</span>
811 </div>
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828 <div class="meta">
829
830
831
832 <p>
833
834 Defined in
835
836
837
838
839 <a href="../files/easeljs_utils_WebGLInspector.js.html#l131"><code>logDepth:131</code></a>
840
841 </p>
842
843
844
845
846
847 </div>
848
849 <div class="description">
850 <p>Recursively walk the entire display tree, log the attached items, and display it in a tree view.</p>
851
852 </div>
853
854
855 <div class="params">
856 <h4>Parameters:</h4>
857
858 <ul class="params-list">
859
860 <li class="param">
861
862 <code class="param-name optional">[children=this._stage.children]</code>
863 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array" class="crosslink external" target="_blank">Array</a></span>
864 <span class="flag optional" title="This parameter is optional.">optional</span>
865
866
867
868
869 <div class="param-description">
870 <p>The children array to walk through.</p>
871
872 </div>
873
874
875 </li>
876
877 <li class="param">
878
879 <code class="param-name">prepend</code>
880 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String" class="crosslink external" target="_blank">String</a></span>
881
882
883
884
885 <div class="param-description">
886 <p>What to prepend to this output from this point onwards.</p>
887
888 </div>
889
890
891 </li>
892
893 <li class="param">
894
895 <code class="param-name">customLog</code>
896 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Function" class="crosslink external" target="_blank">Function</a></span>
897
898
899
900
901 <div class="param-description">
902 <p>Which logging function to use, mainly for filtering or formatting output.
903Fallback hierarchy is customLog -> alternateOutput -> console.log.</p>
904
905 </div>
906
907
908 </li>
909
910 </ul>
911 </div>
912
913
914
915
916
917</div>
918
919
920 <div id="method_logTextureFill" class="method item">
921 <h3 class="name"><code>logTextureFill</code></h3>
922
923
924 <div class="args">
925 <span class="paren">(</span><ul class="args-list inline commas">
926
927 <li class="arg">
928
929 <code class="optional">[stage=this._stage]</code>
930
931 </li>
932
933 </ul><span class="paren">)</span>
934 </div>
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951 <div class="meta">
952
953
954
955 <p>
956
957 Defined in
958
959
960
961
962 <a href="../files/easeljs_utils_WebGLInspector.js.html#l177"><code>logTextureFill:177</code></a>
963
964 </p>
965
966
967
968
969
970 </div>
971
972 <div class="description">
973 <p>Simulate renders and watch what happens for textures moving around between draw calls. A texture moving between
974slots means it was removed and then re-added to draw calls. Performance may be better if it was allowed to stay
975in place.</p>
976
977 </div>
978
979
980 <div class="params">
981 <h4>Parameters:</h4>
982
983 <ul class="params-list">
984
985 <li class="param">
986
987 <code class="param-name optional">[stage=this._stage]</code>
988 <span class="type"><a href="../classes/StageGL.html" class="crosslink">StageGL</a></span>
989 <span class="flag optional" title="This parameter is optional.">optional</span>
990
991
992
993
994 <div class="param-description">
995 <p>The stage to log information for.</p>
996
997 </div>
998
999
1000 </li>
1001
1002 </ul>
1003 </div>
1004
1005
1006
1007
1008
1009</div>
1010
1011
1012 <div id="method_toggleGPUDraw" class="method item">
1013 <h3 class="name"><code>toggleGPUDraw</code></h3>
1014
1015
1016 <div class="args">
1017 <span class="paren">(</span><ul class="args-list inline commas">
1018
1019 <li class="arg">
1020
1021 <code class="optional">[stage=this._stage]</code>
1022
1023 </li>
1024
1025 <li class="arg">
1026
1027 <code>enabled</code>
1028
1029 </li>
1030
1031 </ul><span class="paren">)</span>
1032 </div>
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049 <div class="meta">
1050
1051
1052
1053 <p>
1054
1055 Defined in
1056
1057
1058
1059
1060 <a href="../files/easeljs_utils_WebGLInspector.js.html#l101"><code>toggleGPUDraw:101</code></a>
1061
1062 </p>
1063
1064
1065
1066
1067
1068 </div>
1069
1070 <div class="description">
1071 <p>Replace the stage's Draw command with an empty draw command. This is useful for testing performance, and ignoring
1072rendering.</p>
1073
1074 </div>
1075
1076
1077 <div class="params">
1078 <h4>Parameters:</h4>
1079
1080 <ul class="params-list">
1081
1082 <li class="param">
1083
1084 <code class="param-name optional">[stage=this._stage]</code>
1085 <span class="type"><a href="../classes/StageGL.html" class="crosslink">StageGL</a></span>
1086 <span class="flag optional" title="This parameter is optional.">optional</span>
1087
1088
1089
1090
1091 <div class="param-description">
1092 <p>The stage to log information for.</p>
1093
1094 </div>
1095
1096
1097 </li>
1098
1099 <li class="param">
1100
1101 <code class="param-name">enabled</code>
1102 <span class="type"><a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Boolean" class="crosslink external" target="_blank">Boolean</a></span>
1103
1104
1105
1106
1107 <div class="param-description">
1108 <p>Force enabled. If left undefined, it will toggle.</p>
1109
1110 </div>
1111
1112
1113 </li>
1114
1115 </ul>
1116 </div>
1117
1118
1119
1120
1121
1122</div>
1123
1124
1125 </div>
1126
1127
1128
1129 <div id="properties" class="api-class-tabpanel">
1130 <h2 class="off-left">Properties</h2>
1131
1132
1133 <div id="property__stage" class="property item protected">
1134 <h3 class="name"><code>_stage</code></h3>
1135 <span class="type"><a href="../classes/StageGL.html" class="crosslink">StageGL</a></span>
1136
1137
1138
1139
1140 <span class="flag protected">protected</span>
1141
1142
1143
1144
1145
1146
1147
1148
1149 <div class="meta">
1150
1151
1152
1153 <p>
1154
1155 Defined in
1156
1157
1158
1159
1160 <a href="../files/easeljs_utils_WebGLInspector.js.html#l52"><code>_stage:52</code></a>
1161
1162 </p>
1163
1164
1165
1166
1167 </div>
1168
1169 <div class="description">
1170 <p>The internal reference to the default stage this Inspector is for.</p>
1171
1172 </div>
1173
1174
1175
1176
1177
1178
1179</div>
1180
1181
1182 <div id="property_alternateOutput" class="property item protected">
1183 <h3 class="name"><code>alternateOutput</code></h3>
1184 <span class="type">Console</span>
1185
1186
1187
1188
1189 <span class="flag protected">protected</span>
1190
1191
1192
1193
1194
1195 <span class="flag static">static</span>
1196
1197
1198
1199
1200 <div class="meta">
1201
1202
1203
1204 <p>
1205
1206 Defined in
1207
1208
1209
1210
1211 <a href="../files/easeljs_utils_WebGLInspector.js.html#l66"><code>alternateOutput:66</code></a>
1212
1213 </p>
1214
1215
1216
1217
1218 </div>
1219
1220 <div class="description">
1221 <p>Alternate output for debugging situations where "console" is not available, i.e. Mobile or remote debugging.
1222Expects object with a "log" function that takes any number of params.</p>
1223
1224 </div>
1225
1226
1227 <p><strong>Default:</strong> null</p>
1228
1229
1230
1231
1232
1233</div>
1234
1235
1236 </div>
1237
1238
1239
1240
1241
1242 </div>
1243</div>
1244
1245 </div>
1246 </div>
1247 </div>
1248 </div>
1249 </div>
1250</div>
1251<script src="../assets/vendor/prettify/prettify-min.js"></script>
1252<script>prettyPrint();</script>
1253<script src="../assets/js/yui-prettify.js"></script>
1254<script src="../assets/../api.js"></script>
1255<script src="../assets/js/api-filter.js"></script>
1256<script src="../assets/js/api-list.js"></script>
1257<script src="../assets/js/api-search.js"></script>
1258<script src="../assets/js/apidocs.js"></script>
1259</body>
1260</html>