mirror of
https://github.com/servo/servo
synced 2026-05-01 20:07:22 +02: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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user