mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Add initial support for VertexAttribI4*, VertexAttribIPointer
Adds initial support for the WebGL2 `VertexAttribI4i`, `VertexAttribI4iv`, `VertexAttribI4ui`, `VertexAttribI4uiv` and `VertexAttribIPointer` calls.
This commit is contained in:
parent
5a26190fc9
commit
62f00df79d
17 changed files with 290 additions and 53 deletions
|
@ -451,11 +451,11 @@ interface mixin WebGL2RenderingContextBase
|
|||
optional GLuint srcOffset = 0, optional GLuint srcLength = 0);
|
||||
|
||||
/* Vertex attribs */
|
||||
// void vertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w);
|
||||
// void vertexAttribI4iv(GLuint index, Int32List values);
|
||||
// void vertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
|
||||
// void vertexAttribI4uiv(GLuint index, Uint32List values);
|
||||
// void vertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
|
||||
void vertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w);
|
||||
void vertexAttribI4iv(GLuint index, Int32List values);
|
||||
void vertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
|
||||
void vertexAttribI4uiv(GLuint index, Uint32List values);
|
||||
void vertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
|
||||
|
||||
/* Writing to the drawing buffer */
|
||||
void vertexAttribDivisor(GLuint index, GLuint divisor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue