OLD | NEW |
1 library dart.dom.web_gl; | 1 library dart.dom.web_gl; |
2 | 2 |
3 import 'dart:async'; | 3 import 'dart:async'; |
4 import 'dart:collection'; | 4 import 'dart:collection'; |
5 import 'dart:_collection-dev'; | 5 import 'dart:_collection-dev'; |
6 import 'dart:html'; | 6 import 'dart:html'; |
7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
8 import 'dart:nativewrappers'; | 8 import 'dart:nativewrappers'; |
9 import 'dart:typed_data'; | 9 import 'dart:typed_data'; |
10 // DO NOT EDIT | 10 // DO NOT EDIT |
(...skipping 2147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2158 @DomName('WebGLRenderingContext.bindRenderbuffer') | 2158 @DomName('WebGLRenderingContext.bindRenderbuffer') |
2159 @DocsEditable | 2159 @DocsEditable |
2160 void bindRenderbuffer(int target, Renderbuffer renderbuffer) native "WebGLRend
eringContext_bindRenderbuffer_Callback"; | 2160 void bindRenderbuffer(int target, Renderbuffer renderbuffer) native "WebGLRend
eringContext_bindRenderbuffer_Callback"; |
2161 | 2161 |
2162 @DomName('WebGLRenderingContext.bindTexture') | 2162 @DomName('WebGLRenderingContext.bindTexture') |
2163 @DocsEditable | 2163 @DocsEditable |
2164 void bindTexture(int target, Texture texture) native "WebGLRenderingContext_bi
ndTexture_Callback"; | 2164 void bindTexture(int target, Texture texture) native "WebGLRenderingContext_bi
ndTexture_Callback"; |
2165 | 2165 |
2166 @DomName('WebGLRenderingContext.blendColor') | 2166 @DomName('WebGLRenderingContext.blendColor') |
2167 @DocsEditable | 2167 @DocsEditable |
2168 void blendColor(num red, num green, num blue, num alpha) native "WebGLRenderin
gContext_blendColor_Callback"; | 2168 void blendColor(double red, double green, double blue, double alpha) native "W
ebGLRenderingContext_blendColor_Callback"; |
2169 | 2169 |
2170 @DomName('WebGLRenderingContext.blendEquation') | 2170 @DomName('WebGLRenderingContext.blendEquation') |
2171 @DocsEditable | 2171 @DocsEditable |
2172 void blendEquation(int mode) native "WebGLRenderingContext_blendEquation_Callb
ack"; | 2172 void blendEquation(int mode) native "WebGLRenderingContext_blendEquation_Callb
ack"; |
2173 | 2173 |
2174 @DomName('WebGLRenderingContext.blendEquationSeparate') | 2174 @DomName('WebGLRenderingContext.blendEquationSeparate') |
2175 @DocsEditable | 2175 @DocsEditable |
2176 void blendEquationSeparate(int modeRGB, int modeAlpha) native "WebGLRenderingC
ontext_blendEquationSeparate_Callback"; | 2176 void blendEquationSeparate(int modeRGB, int modeAlpha) native "WebGLRenderingC
ontext_blendEquationSeparate_Callback"; |
2177 | 2177 |
2178 @DomName('WebGLRenderingContext.blendFunc') | 2178 @DomName('WebGLRenderingContext.blendFunc') |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2224 @DomName('WebGLRenderingContext.checkFramebufferStatus') | 2224 @DomName('WebGLRenderingContext.checkFramebufferStatus') |
2225 @DocsEditable | 2225 @DocsEditable |
2226 int checkFramebufferStatus(int target) native "WebGLRenderingContext_checkFram
ebufferStatus_Callback"; | 2226 int checkFramebufferStatus(int target) native "WebGLRenderingContext_checkFram
ebufferStatus_Callback"; |
2227 | 2227 |
2228 @DomName('WebGLRenderingContext.clear') | 2228 @DomName('WebGLRenderingContext.clear') |
2229 @DocsEditable | 2229 @DocsEditable |
2230 void clear(int mask) native "WebGLRenderingContext_clear_Callback"; | 2230 void clear(int mask) native "WebGLRenderingContext_clear_Callback"; |
2231 | 2231 |
2232 @DomName('WebGLRenderingContext.clearColor') | 2232 @DomName('WebGLRenderingContext.clearColor') |
2233 @DocsEditable | 2233 @DocsEditable |
2234 void clearColor(num red, num green, num blue, num alpha) native "WebGLRenderin
gContext_clearColor_Callback"; | 2234 void clearColor(double red, double green, double blue, double alpha) native "W
ebGLRenderingContext_clearColor_Callback"; |
2235 | 2235 |
2236 @DomName('WebGLRenderingContext.clearDepth') | 2236 @DomName('WebGLRenderingContext.clearDepth') |
2237 @DocsEditable | 2237 @DocsEditable |
2238 void clearDepth(num depth) native "WebGLRenderingContext_clearDepth_Callback"; | 2238 void clearDepth(double depth) native "WebGLRenderingContext_clearDepth_Callbac
k"; |
2239 | 2239 |
2240 @DomName('WebGLRenderingContext.clearStencil') | 2240 @DomName('WebGLRenderingContext.clearStencil') |
2241 @DocsEditable | 2241 @DocsEditable |
2242 void clearStencil(int s) native "WebGLRenderingContext_clearStencil_Callback"; | 2242 void clearStencil(int s) native "WebGLRenderingContext_clearStencil_Callback"; |
2243 | 2243 |
2244 @DomName('WebGLRenderingContext.colorMask') | 2244 @DomName('WebGLRenderingContext.colorMask') |
2245 @DocsEditable | 2245 @DocsEditable |
2246 void colorMask(bool red, bool green, bool blue, bool alpha) native "WebGLRende
ringContext_colorMask_Callback"; | 2246 void colorMask(bool red, bool green, bool blue, bool alpha) native "WebGLRende
ringContext_colorMask_Callback"; |
2247 | 2247 |
2248 @DomName('WebGLRenderingContext.compileShader') | 2248 @DomName('WebGLRenderingContext.compileShader') |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2320 @DomName('WebGLRenderingContext.depthFunc') | 2320 @DomName('WebGLRenderingContext.depthFunc') |
2321 @DocsEditable | 2321 @DocsEditable |
2322 void depthFunc(int func) native "WebGLRenderingContext_depthFunc_Callback"; | 2322 void depthFunc(int func) native "WebGLRenderingContext_depthFunc_Callback"; |
2323 | 2323 |
2324 @DomName('WebGLRenderingContext.depthMask') | 2324 @DomName('WebGLRenderingContext.depthMask') |
2325 @DocsEditable | 2325 @DocsEditable |
2326 void depthMask(bool flag) native "WebGLRenderingContext_depthMask_Callback"; | 2326 void depthMask(bool flag) native "WebGLRenderingContext_depthMask_Callback"; |
2327 | 2327 |
2328 @DomName('WebGLRenderingContext.depthRange') | 2328 @DomName('WebGLRenderingContext.depthRange') |
2329 @DocsEditable | 2329 @DocsEditable |
2330 void depthRange(num zNear, num zFar) native "WebGLRenderingContext_depthRange_
Callback"; | 2330 void depthRange(double zNear, double zFar) native "WebGLRenderingContext_depth
Range_Callback"; |
2331 | 2331 |
2332 @DomName('WebGLRenderingContext.detachShader') | 2332 @DomName('WebGLRenderingContext.detachShader') |
2333 @DocsEditable | 2333 @DocsEditable |
2334 void detachShader(Program program, Shader shader) native "WebGLRenderingContex
t_detachShader_Callback"; | 2334 void detachShader(Program program, Shader shader) native "WebGLRenderingContex
t_detachShader_Callback"; |
2335 | 2335 |
2336 @DomName('WebGLRenderingContext.disable') | 2336 @DomName('WebGLRenderingContext.disable') |
2337 @DocsEditable | 2337 @DocsEditable |
2338 void disable(int cap) native "WebGLRenderingContext_disable_Callback"; | 2338 void disable(int cap) native "WebGLRenderingContext_disable_Callback"; |
2339 | 2339 |
2340 @DomName('WebGLRenderingContext.disableVertexAttribArray') | 2340 @DomName('WebGLRenderingContext.disableVertexAttribArray') |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2504 @DomName('WebGLRenderingContext.isShader') | 2504 @DomName('WebGLRenderingContext.isShader') |
2505 @DocsEditable | 2505 @DocsEditable |
2506 bool isShader(Shader shader) native "WebGLRenderingContext_isShader_Callback"; | 2506 bool isShader(Shader shader) native "WebGLRenderingContext_isShader_Callback"; |
2507 | 2507 |
2508 @DomName('WebGLRenderingContext.isTexture') | 2508 @DomName('WebGLRenderingContext.isTexture') |
2509 @DocsEditable | 2509 @DocsEditable |
2510 bool isTexture(Texture texture) native "WebGLRenderingContext_isTexture_Callba
ck"; | 2510 bool isTexture(Texture texture) native "WebGLRenderingContext_isTexture_Callba
ck"; |
2511 | 2511 |
2512 @DomName('WebGLRenderingContext.lineWidth') | 2512 @DomName('WebGLRenderingContext.lineWidth') |
2513 @DocsEditable | 2513 @DocsEditable |
2514 void lineWidth(num width) native "WebGLRenderingContext_lineWidth_Callback"; | 2514 void lineWidth(double width) native "WebGLRenderingContext_lineWidth_Callback"
; |
2515 | 2515 |
2516 @DomName('WebGLRenderingContext.linkProgram') | 2516 @DomName('WebGLRenderingContext.linkProgram') |
2517 @DocsEditable | 2517 @DocsEditable |
2518 void linkProgram(Program program) native "WebGLRenderingContext_linkProgram_Ca
llback"; | 2518 void linkProgram(Program program) native "WebGLRenderingContext_linkProgram_Ca
llback"; |
2519 | 2519 |
2520 @DomName('WebGLRenderingContext.pixelStorei') | 2520 @DomName('WebGLRenderingContext.pixelStorei') |
2521 @DocsEditable | 2521 @DocsEditable |
2522 void pixelStorei(int pname, int param) native "WebGLRenderingContext_pixelStor
ei_Callback"; | 2522 void pixelStorei(int pname, int param) native "WebGLRenderingContext_pixelStor
ei_Callback"; |
2523 | 2523 |
2524 @DomName('WebGLRenderingContext.polygonOffset') | 2524 @DomName('WebGLRenderingContext.polygonOffset') |
2525 @DocsEditable | 2525 @DocsEditable |
2526 void polygonOffset(num factor, num units) native "WebGLRenderingContext_polygo
nOffset_Callback"; | 2526 void polygonOffset(double factor, double units) native "WebGLRenderingContext_
polygonOffset_Callback"; |
2527 | 2527 |
2528 @DomName('WebGLRenderingContext.readPixels') | 2528 @DomName('WebGLRenderingContext.readPixels') |
2529 @DocsEditable | 2529 @DocsEditable |
2530 void readPixels(int x, int y, int width, int height, int format, int type, Typ
edData pixels) native "WebGLRenderingContext_readPixels_Callback"; | 2530 void readPixels(int x, int y, int width, int height, int format, int type, Typ
edData pixels) native "WebGLRenderingContext_readPixels_Callback"; |
2531 | 2531 |
2532 @DomName('WebGLRenderingContext.renderbufferStorage') | 2532 @DomName('WebGLRenderingContext.renderbufferStorage') |
2533 @DocsEditable | 2533 @DocsEditable |
2534 void renderbufferStorage(int target, int internalformat, int width, int height
) native "WebGLRenderingContext_renderbufferStorage_Callback"; | 2534 void renderbufferStorage(int target, int internalformat, int width, int height
) native "WebGLRenderingContext_renderbufferStorage_Callback"; |
2535 | 2535 |
2536 @DomName('WebGLRenderingContext.sampleCoverage') | 2536 @DomName('WebGLRenderingContext.sampleCoverage') |
2537 @DocsEditable | 2537 @DocsEditable |
2538 void sampleCoverage(num value, bool invert) native "WebGLRenderingContext_samp
leCoverage_Callback"; | 2538 void sampleCoverage(double value, bool invert) native "WebGLRenderingContext_s
ampleCoverage_Callback"; |
2539 | 2539 |
2540 @DomName('WebGLRenderingContext.scissor') | 2540 @DomName('WebGLRenderingContext.scissor') |
2541 @DocsEditable | 2541 @DocsEditable |
2542 void scissor(int x, int y, int width, int height) native "WebGLRenderingContex
t_scissor_Callback"; | 2542 void scissor(int x, int y, int width, int height) native "WebGLRenderingContex
t_scissor_Callback"; |
2543 | 2543 |
2544 @DomName('WebGLRenderingContext.shaderSource') | 2544 @DomName('WebGLRenderingContext.shaderSource') |
2545 @DocsEditable | 2545 @DocsEditable |
2546 void shaderSource(Shader shader, String string) native "WebGLRenderingContext_
shaderSource_Callback"; | 2546 void shaderSource(Shader shader, String string) native "WebGLRenderingContext_
shaderSource_Callback"; |
2547 | 2547 |
2548 @DomName('WebGLRenderingContext.stencilFunc') | 2548 @DomName('WebGLRenderingContext.stencilFunc') |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2598 void _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext
__texImage2D_2_Callback"; | 2598 void _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext
__texImage2D_2_Callback"; |
2599 | 2599 |
2600 void _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext
__texImage2D_3_Callback"; | 2600 void _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext
__texImage2D_3_Callback"; |
2601 | 2601 |
2602 void _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext
__texImage2D_4_Callback"; | 2602 void _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext
__texImage2D_4_Callback"; |
2603 | 2603 |
2604 void _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext
__texImage2D_5_Callback"; | 2604 void _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext
__texImage2D_5_Callback"; |
2605 | 2605 |
2606 @DomName('WebGLRenderingContext.texParameterf') | 2606 @DomName('WebGLRenderingContext.texParameterf') |
2607 @DocsEditable | 2607 @DocsEditable |
2608 void texParameterf(int target, int pname, num param) native "WebGLRenderingCon
text_texParameterf_Callback"; | 2608 void texParameterf(int target, int pname, double param) native "WebGLRendering
Context_texParameterf_Callback"; |
2609 | 2609 |
2610 @DomName('WebGLRenderingContext.texParameteri') | 2610 @DomName('WebGLRenderingContext.texParameteri') |
2611 @DocsEditable | 2611 @DocsEditable |
2612 void texParameteri(int target, int pname, int param) native "WebGLRenderingCon
text_texParameteri_Callback"; | 2612 void texParameteri(int target, int pname, int param) native "WebGLRenderingCon
text_texParameteri_Callback"; |
2613 | 2613 |
2614 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format
_OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [in
t type, TypedData pixels]) { | 2614 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format
_OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [in
t type, TypedData pixels]) { |
2615 if ((target is int || target == null) && (level is int || level == null) &&
(xoffset is int || xoffset == null) && (yoffset is int || yoffset == null) && (f
ormat_OR_width is int || format_OR_width == null) && (height_OR_type is int || h
eight_OR_type == null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is int |
| canvas_OR_format_OR_image_OR_pixels_OR_video == null) && (type is int || type
== null) && (pixels is TypedData || pixels == null)) { | 2615 if ((target is int || target == null) && (level is int || level == null) &&
(xoffset is int || xoffset == null) && (yoffset is int || yoffset == null) && (f
ormat_OR_width is int || format_OR_width == null) && (height_OR_type is int || h
eight_OR_type == null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is int |
| canvas_OR_format_OR_image_OR_pixels_OR_video == null) && (type is int || type
== null) && (pixels is TypedData || pixels == null)) { |
2616 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); | 2616 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); |
2617 return; | 2617 return; |
2618 } | 2618 } |
(...skipping 21 matching lines...) Expand all Loading... |
2640 void _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo
ntext__texSubImage2D_2_Callback"; | 2640 void _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo
ntext__texSubImage2D_2_Callback"; |
2641 | 2641 |
2642 void _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo
ntext__texSubImage2D_3_Callback"; | 2642 void _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo
ntext__texSubImage2D_3_Callback"; |
2643 | 2643 |
2644 void _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo
ntext__texSubImage2D_4_Callback"; | 2644 void _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo
ntext__texSubImage2D_4_Callback"; |
2645 | 2645 |
2646 void _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo
ntext__texSubImage2D_5_Callback"; | 2646 void _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo
ntext__texSubImage2D_5_Callback"; |
2647 | 2647 |
2648 @DomName('WebGLRenderingContext.uniform1f') | 2648 @DomName('WebGLRenderingContext.uniform1f') |
2649 @DocsEditable | 2649 @DocsEditable |
2650 void uniform1f(UniformLocation location, num x) native "WebGLRenderingContext_
uniform1f_Callback"; | 2650 void uniform1f(UniformLocation location, double x) native "WebGLRenderingConte
xt_uniform1f_Callback"; |
2651 | 2651 |
2652 @DomName('WebGLRenderingContext.uniform1fv') | 2652 @DomName('WebGLRenderingContext.uniform1fv') |
2653 @DocsEditable | 2653 @DocsEditable |
2654 void uniform1fv(UniformLocation location, Float32List v) native "WebGLRenderin
gContext_uniform1fv_Callback"; | 2654 void uniform1fv(UniformLocation location, Float32List v) native "WebGLRenderin
gContext_uniform1fv_Callback"; |
2655 | 2655 |
2656 @DomName('WebGLRenderingContext.uniform1i') | 2656 @DomName('WebGLRenderingContext.uniform1i') |
2657 @DocsEditable | 2657 @DocsEditable |
2658 void uniform1i(UniformLocation location, int x) native "WebGLRenderingContext_
uniform1i_Callback"; | 2658 void uniform1i(UniformLocation location, int x) native "WebGLRenderingContext_
uniform1i_Callback"; |
2659 | 2659 |
2660 @DomName('WebGLRenderingContext.uniform1iv') | 2660 @DomName('WebGLRenderingContext.uniform1iv') |
2661 @DocsEditable | 2661 @DocsEditable |
2662 void uniform1iv(UniformLocation location, Int32List v) native "WebGLRenderingC
ontext_uniform1iv_Callback"; | 2662 void uniform1iv(UniformLocation location, Int32List v) native "WebGLRenderingC
ontext_uniform1iv_Callback"; |
2663 | 2663 |
2664 @DomName('WebGLRenderingContext.uniform2f') | 2664 @DomName('WebGLRenderingContext.uniform2f') |
2665 @DocsEditable | 2665 @DocsEditable |
2666 void uniform2f(UniformLocation location, num x, num y) native "WebGLRenderingC
ontext_uniform2f_Callback"; | 2666 void uniform2f(UniformLocation location, double x, double y) native "WebGLRend
eringContext_uniform2f_Callback"; |
2667 | 2667 |
2668 @DomName('WebGLRenderingContext.uniform2fv') | 2668 @DomName('WebGLRenderingContext.uniform2fv') |
2669 @DocsEditable | 2669 @DocsEditable |
2670 void uniform2fv(UniformLocation location, Float32List v) native "WebGLRenderin
gContext_uniform2fv_Callback"; | 2670 void uniform2fv(UniformLocation location, Float32List v) native "WebGLRenderin
gContext_uniform2fv_Callback"; |
2671 | 2671 |
2672 @DomName('WebGLRenderingContext.uniform2i') | 2672 @DomName('WebGLRenderingContext.uniform2i') |
2673 @DocsEditable | 2673 @DocsEditable |
2674 void uniform2i(UniformLocation location, int x, int y) native "WebGLRenderingC
ontext_uniform2i_Callback"; | 2674 void uniform2i(UniformLocation location, int x, int y) native "WebGLRenderingC
ontext_uniform2i_Callback"; |
2675 | 2675 |
2676 @DomName('WebGLRenderingContext.uniform2iv') | 2676 @DomName('WebGLRenderingContext.uniform2iv') |
2677 @DocsEditable | 2677 @DocsEditable |
2678 void uniform2iv(UniformLocation location, Int32List v) native "WebGLRenderingC
ontext_uniform2iv_Callback"; | 2678 void uniform2iv(UniformLocation location, Int32List v) native "WebGLRenderingC
ontext_uniform2iv_Callback"; |
2679 | 2679 |
2680 @DomName('WebGLRenderingContext.uniform3f') | 2680 @DomName('WebGLRenderingContext.uniform3f') |
2681 @DocsEditable | 2681 @DocsEditable |
2682 void uniform3f(UniformLocation location, num x, num y, num z) native "WebGLRen
deringContext_uniform3f_Callback"; | 2682 void uniform3f(UniformLocation location, double x, double y, double z) native
"WebGLRenderingContext_uniform3f_Callback"; |
2683 | 2683 |
2684 @DomName('WebGLRenderingContext.uniform3fv') | 2684 @DomName('WebGLRenderingContext.uniform3fv') |
2685 @DocsEditable | 2685 @DocsEditable |
2686 void uniform3fv(UniformLocation location, Float32List v) native "WebGLRenderin
gContext_uniform3fv_Callback"; | 2686 void uniform3fv(UniformLocation location, Float32List v) native "WebGLRenderin
gContext_uniform3fv_Callback"; |
2687 | 2687 |
2688 @DomName('WebGLRenderingContext.uniform3i') | 2688 @DomName('WebGLRenderingContext.uniform3i') |
2689 @DocsEditable | 2689 @DocsEditable |
2690 void uniform3i(UniformLocation location, int x, int y, int z) native "WebGLRen
deringContext_uniform3i_Callback"; | 2690 void uniform3i(UniformLocation location, int x, int y, int z) native "WebGLRen
deringContext_uniform3i_Callback"; |
2691 | 2691 |
2692 @DomName('WebGLRenderingContext.uniform3iv') | 2692 @DomName('WebGLRenderingContext.uniform3iv') |
2693 @DocsEditable | 2693 @DocsEditable |
2694 void uniform3iv(UniformLocation location, Int32List v) native "WebGLRenderingC
ontext_uniform3iv_Callback"; | 2694 void uniform3iv(UniformLocation location, Int32List v) native "WebGLRenderingC
ontext_uniform3iv_Callback"; |
2695 | 2695 |
2696 @DomName('WebGLRenderingContext.uniform4f') | 2696 @DomName('WebGLRenderingContext.uniform4f') |
2697 @DocsEditable | 2697 @DocsEditable |
2698 void uniform4f(UniformLocation location, num x, num y, num z, num w) native "W
ebGLRenderingContext_uniform4f_Callback"; | 2698 void uniform4f(UniformLocation location, double x, double y, double z, double
w) native "WebGLRenderingContext_uniform4f_Callback"; |
2699 | 2699 |
2700 @DomName('WebGLRenderingContext.uniform4fv') | 2700 @DomName('WebGLRenderingContext.uniform4fv') |
2701 @DocsEditable | 2701 @DocsEditable |
2702 void uniform4fv(UniformLocation location, Float32List v) native "WebGLRenderin
gContext_uniform4fv_Callback"; | 2702 void uniform4fv(UniformLocation location, Float32List v) native "WebGLRenderin
gContext_uniform4fv_Callback"; |
2703 | 2703 |
2704 @DomName('WebGLRenderingContext.uniform4i') | 2704 @DomName('WebGLRenderingContext.uniform4i') |
2705 @DocsEditable | 2705 @DocsEditable |
2706 void uniform4i(UniformLocation location, int x, int y, int z, int w) native "W
ebGLRenderingContext_uniform4i_Callback"; | 2706 void uniform4i(UniformLocation location, int x, int y, int z, int w) native "W
ebGLRenderingContext_uniform4i_Callback"; |
2707 | 2707 |
2708 @DomName('WebGLRenderingContext.uniform4iv') | 2708 @DomName('WebGLRenderingContext.uniform4iv') |
(...skipping 15 matching lines...) Expand all Loading... |
2724 @DomName('WebGLRenderingContext.useProgram') | 2724 @DomName('WebGLRenderingContext.useProgram') |
2725 @DocsEditable | 2725 @DocsEditable |
2726 void useProgram(Program program) native "WebGLRenderingContext_useProgram_Call
back"; | 2726 void useProgram(Program program) native "WebGLRenderingContext_useProgram_Call
back"; |
2727 | 2727 |
2728 @DomName('WebGLRenderingContext.validateProgram') | 2728 @DomName('WebGLRenderingContext.validateProgram') |
2729 @DocsEditable | 2729 @DocsEditable |
2730 void validateProgram(Program program) native "WebGLRenderingContext_validatePr
ogram_Callback"; | 2730 void validateProgram(Program program) native "WebGLRenderingContext_validatePr
ogram_Callback"; |
2731 | 2731 |
2732 @DomName('WebGLRenderingContext.vertexAttrib1f') | 2732 @DomName('WebGLRenderingContext.vertexAttrib1f') |
2733 @DocsEditable | 2733 @DocsEditable |
2734 void vertexAttrib1f(int indx, num x) native "WebGLRenderingContext_vertexAttri
b1f_Callback"; | 2734 void vertexAttrib1f(int indx, double x) native "WebGLRenderingContext_vertexAt
trib1f_Callback"; |
2735 | 2735 |
2736 @DomName('WebGLRenderingContext.vertexAttrib1fv') | 2736 @DomName('WebGLRenderingContext.vertexAttrib1fv') |
2737 @DocsEditable | 2737 @DocsEditable |
2738 void vertexAttrib1fv(int indx, Float32List values) native "WebGLRenderingConte
xt_vertexAttrib1fv_Callback"; | 2738 void vertexAttrib1fv(int indx, Float32List values) native "WebGLRenderingConte
xt_vertexAttrib1fv_Callback"; |
2739 | 2739 |
2740 @DomName('WebGLRenderingContext.vertexAttrib2f') | 2740 @DomName('WebGLRenderingContext.vertexAttrib2f') |
2741 @DocsEditable | 2741 @DocsEditable |
2742 void vertexAttrib2f(int indx, num x, num y) native "WebGLRenderingContext_vert
exAttrib2f_Callback"; | 2742 void vertexAttrib2f(int indx, double x, double y) native "WebGLRenderingContex
t_vertexAttrib2f_Callback"; |
2743 | 2743 |
2744 @DomName('WebGLRenderingContext.vertexAttrib2fv') | 2744 @DomName('WebGLRenderingContext.vertexAttrib2fv') |
2745 @DocsEditable | 2745 @DocsEditable |
2746 void vertexAttrib2fv(int indx, Float32List values) native "WebGLRenderingConte
xt_vertexAttrib2fv_Callback"; | 2746 void vertexAttrib2fv(int indx, Float32List values) native "WebGLRenderingConte
xt_vertexAttrib2fv_Callback"; |
2747 | 2747 |
2748 @DomName('WebGLRenderingContext.vertexAttrib3f') | 2748 @DomName('WebGLRenderingContext.vertexAttrib3f') |
2749 @DocsEditable | 2749 @DocsEditable |
2750 void vertexAttrib3f(int indx, num x, num y, num z) native "WebGLRenderingConte
xt_vertexAttrib3f_Callback"; | 2750 void vertexAttrib3f(int indx, double x, double y, double z) native "WebGLRende
ringContext_vertexAttrib3f_Callback"; |
2751 | 2751 |
2752 @DomName('WebGLRenderingContext.vertexAttrib3fv') | 2752 @DomName('WebGLRenderingContext.vertexAttrib3fv') |
2753 @DocsEditable | 2753 @DocsEditable |
2754 void vertexAttrib3fv(int indx, Float32List values) native "WebGLRenderingConte
xt_vertexAttrib3fv_Callback"; | 2754 void vertexAttrib3fv(int indx, Float32List values) native "WebGLRenderingConte
xt_vertexAttrib3fv_Callback"; |
2755 | 2755 |
2756 @DomName('WebGLRenderingContext.vertexAttrib4f') | 2756 @DomName('WebGLRenderingContext.vertexAttrib4f') |
2757 @DocsEditable | 2757 @DocsEditable |
2758 void vertexAttrib4f(int indx, num x, num y, num z, num w) native "WebGLRenderi
ngContext_vertexAttrib4f_Callback"; | 2758 void vertexAttrib4f(int indx, double x, double y, double z, double w) native "
WebGLRenderingContext_vertexAttrib4f_Callback"; |
2759 | 2759 |
2760 @DomName('WebGLRenderingContext.vertexAttrib4fv') | 2760 @DomName('WebGLRenderingContext.vertexAttrib4fv') |
2761 @DocsEditable | 2761 @DocsEditable |
2762 void vertexAttrib4fv(int indx, Float32List values) native "WebGLRenderingConte
xt_vertexAttrib4fv_Callback"; | 2762 void vertexAttrib4fv(int indx, Float32List values) native "WebGLRenderingConte
xt_vertexAttrib4fv_Callback"; |
2763 | 2763 |
2764 @DomName('WebGLRenderingContext.vertexAttribPointer') | 2764 @DomName('WebGLRenderingContext.vertexAttribPointer') |
2765 @DocsEditable | 2765 @DocsEditable |
2766 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) native "WebGLRenderingContext_vertexAttribPointer_Callback"; | 2766 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) native "WebGLRenderingContext_vertexAttribPointer_Callback"; |
2767 | 2767 |
2768 @DomName('WebGLRenderingContext.viewport') | 2768 @DomName('WebGLRenderingContext.viewport') |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2842 | 2842 |
2843 | 2843 |
2844 @DocsEditable | 2844 @DocsEditable |
2845 @DomName('WebGLVertexArrayObjectOES') | 2845 @DomName('WebGLVertexArrayObjectOES') |
2846 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ | 2846 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ |
2847 @Experimental // experimental | 2847 @Experimental // experimental |
2848 class VertexArrayObject extends NativeFieldWrapperClass1 { | 2848 class VertexArrayObject extends NativeFieldWrapperClass1 { |
2849 VertexArrayObject.internal(); | 2849 VertexArrayObject.internal(); |
2850 | 2850 |
2851 } | 2851 } |
OLD | NEW |