You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[throws] undefined texElementImage2D(GLenum target, GLint level, GLint internalformat, GLenum format, GLenum type, Element element);
2217
2216
</dt>
2218
2217
<dd>
2219
2218
<p>Renders the given element to the currently bound WebGLTexture.</p>
@@ -2237,6 +2236,81 @@ <h4>Texture objects</h4>
2237
2236
</p>
2238
2237
</dd>
2239
2238
2239
+
<dtclass="idl-code">
2240
+
[throws] undefined texElementImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, Element element);
2241
+
</dt>
2242
+
<dd>
2243
+
<p>Renders the given element to the currently bound WebGLTexture.</p>
2244
+
<p>The width and height of the texture are set by the passed in width and height.</p>
2245
+
<p>TBD: define state of rendering + security. These will be more links to whatwg</p><p></p>
2246
+
<p>If this function is called with an <code>HTMLElement</code> that is not a direct descendant of the <ahref="#context-canvas">canvas</a> of the current context, generates an <code>INVALID_OPERATION</code> error.</p>
2247
+
<p>If a WebGLBuffer is bound to the <code>PIXEL_UNPACK_BUFFER</code> target, generates an <code>INVALID_OPERATION</code> error.</p>
2248
+
<p>The combination of <em>internalformat</em>, <em>format</em>, and <em>type</em> must be listed in the following table:</p>
<p>Renders the given element to the currently bound WebGLTexture.</p>
2269
+
<p>sx, sy, swidth and sheight define a rectangular slice of the element's borderbox. This slice determines the size of the generated texture.</p>
2270
+
<p>TBD: define state of rendering + security. These will be more links to whatwg</p><p></p>
2271
+
<p>If this function is called with an <code>HTMLElement</code> that is not a direct descendant of the <ahref="#context-canvas">canvas</a> of the current context, generates an <code>INVALID_OPERATION</code> error.</p>
2272
+
<p>If a WebGLBuffer is bound to the <code>PIXEL_UNPACK_BUFFER</code> target, generates an <code>INVALID_OPERATION</code> error.</p>
2273
+
<p>The combination of <em>internalformat</em>, <em>format</em>, and <em>type</em> must be listed in the following table:</p>
<p>Renders the given element to the currently bound WebGLTexture.</p>
2294
+
<p>sx, sy, swidth and sheight define a rectangular slice of the element's when its size is set to the width and height. This slice determines the size of the generated texture.</p>
2295
+
<p>TBD: define state of rendering + security. These will be more links to whatwg</p><p></p>
2296
+
<p>If this function is called with an <code>HTMLElement</code> that is not a direct descendant of the <ahref="#context-canvas">canvas</a> of the current context, generates an <code>INVALID_OPERATION</code> error.</p>
2297
+
<p>If a WebGLBuffer is bound to the <code>PIXEL_UNPACK_BUFFER</code> target, generates an <code>INVALID_OPERATION</code> error.</p>
2298
+
<p>The combination of <em>internalformat</em>, <em>format</em>, and <em>type</em> must be listed in the following table:</p>
0 commit comments