OLD | NEW |
1 /** | 1 /** |
2 * 3D programming in the browser. | 2 * 3D programming in the browser. |
3 */ | 3 */ |
4 library dart.dom.web_gl; | 4 library dart.dom.web_gl; |
5 | 5 |
6 import 'dart:collection'; | 6 import 'dart:collection'; |
7 import 'dart:_internal' hide deprecated; | 7 import 'dart:_internal' hide deprecated; |
8 import 'dart:html'; | 8 import 'dart:html'; |
9 import 'dart:html_common'; | 9 import 'dart:html_common'; |
10 import 'dart:_native_typed_data'; | 10 import 'dart:_native_typed_data'; |
(...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
780 @DocsEditable() | 780 @DocsEditable() |
781 static const int DRAW_BUFFER9_WEBGL = 0x882E; | 781 static const int DRAW_BUFFER9_WEBGL = 0x882E; |
782 | 782 |
783 @DomName('WebGLDrawBuffers.MAX_COLOR_ATTACHMENTS_WEBGL') | 783 @DomName('WebGLDrawBuffers.MAX_COLOR_ATTACHMENTS_WEBGL') |
784 @DocsEditable() | 784 @DocsEditable() |
785 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF; | 785 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF; |
786 | 786 |
787 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL') | 787 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL') |
788 @DocsEditable() | 788 @DocsEditable() |
789 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824; | 789 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824; |
| 790 |
| 791 @JSName('drawBuffersWEBGL') |
| 792 @DomName('WebGLDrawBuffers.drawBuffersWEBGL') |
| 793 @DocsEditable() |
| 794 void drawBuffersWebgl(List<int> buffers) native; |
790 } | 795 } |
791 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 796 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
792 // for details. All rights reserved. Use of this source code is governed by a | 797 // for details. All rights reserved. Use of this source code is governed by a |
793 // BSD-style license that can be found in the LICENSE file. | 798 // BSD-style license that can be found in the LICENSE file. |
794 | 799 |
795 | 800 |
796 @DocsEditable() | 801 @DocsEditable() |
797 @DomName('EXTBlendMinMax') | 802 @DomName('EXTBlendMinMax') |
798 @Experimental() // untriaged | 803 @Experimental() // untriaged |
799 @Native("EXTBlendMinMax") | 804 @Native("EXTBlendMinMax") |
(...skipping 2544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3344 // BSD-style license that can be found in the LICENSE file. | 3349 // BSD-style license that can be found in the LICENSE file. |
3345 | 3350 |
3346 | 3351 |
3347 @DocsEditable() | 3352 @DocsEditable() |
3348 @DomName('WebGLRenderingContextBase') | 3353 @DomName('WebGLRenderingContextBase') |
3349 @Experimental() // untriaged | 3354 @Experimental() // untriaged |
3350 abstract class _WebGLRenderingContextBase extends Interceptor { | 3355 abstract class _WebGLRenderingContextBase extends Interceptor { |
3351 // To suppress missing implicit constructor warnings. | 3356 // To suppress missing implicit constructor warnings. |
3352 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo
rted"); } | 3357 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo
rted"); } |
3353 } | 3358 } |
OLD | NEW |