mirror of
https://github.com/servo/servo.git
synced 2025-06-10 09:33:13 +00: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
|
@ -61,6 +61,10 @@ impl WebGLVertexArrayObject {
|
|||
self.array_object.get_vertex_attrib(index)
|
||||
}
|
||||
|
||||
pub fn set_vertex_attrib_type(&self, index: u32, type_: u32) {
|
||||
self.array_object.set_vertex_attrib_type(index, type_);
|
||||
}
|
||||
|
||||
pub fn vertex_attrib_pointer(
|
||||
&self,
|
||||
index: u32,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue