mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Enable texSubImage2D API
This commit is contained in:
parent
bc9c4b1cba
commit
9dab669124
1 changed files with 5 additions and 5 deletions
|
@ -646,11 +646,11 @@ interface WebGLRenderingContextBase
|
||||||
void texParameterf(GLenum target, GLenum pname, GLfloat param);
|
void texParameterf(GLenum target, GLenum pname, GLfloat param);
|
||||||
void texParameteri(GLenum target, GLenum pname, GLint param);
|
void texParameteri(GLenum target, GLenum pname, GLint param);
|
||||||
|
|
||||||
//void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
|
void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
|
||||||
// GLsizei width, GLsizei height,
|
GLsizei width, GLsizei height,
|
||||||
// GLenum format, GLenum type, ArrayBufferView? pixels);
|
GLenum format, GLenum type, optional object data);
|
||||||
//void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
|
void texSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
|
||||||
// GLenum format, GLenum type, TexImageSource? source); // May throw DOMException
|
GLenum format, GLenum type, TexImageSource? source); // May throw DOMException
|
||||||
|
|
||||||
void uniform1f(WebGLUniformLocation? location, GLfloat x);
|
void uniform1f(WebGLUniformLocation? location, GLfloat x);
|
||||||
//void uniform1fv(WebGLUniformLocation? location, Float32Array v);
|
//void uniform1fv(WebGLUniformLocation? location, Float32Array v);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue