LibWeb: Implement WebGL getVertexAttribOffset

This commit is contained in:
Undefine 2025-11-01 17:04:07 +01:00 committed by Jelle Raaijmakers
parent 1bc7e9d3f8
commit 50d66ba74c
Notes: github-actions[bot] 2025-11-01 23:55:07 +00:00
5 changed files with 27 additions and 1 deletions

View file

@ -115,6 +115,7 @@ public:
JS::Value get_uniform(GC::Root<WebGLProgram> program, GC::Root<WebGLUniformLocation> location);
GC::Root<WebGLUniformLocation> get_uniform_location(GC::Root<WebGLProgram> program, String name);
JS::Value get_vertex_attrib(WebIDL::UnsignedLong index, WebIDL::UnsignedLong pname);
WebIDL::LongLong get_vertex_attrib_offset(WebIDL::UnsignedLong index, WebIDL::UnsignedLong pname);
void hint(WebIDL::UnsignedLong target, WebIDL::UnsignedLong mode);
bool is_buffer(GC::Root<WebGLBuffer> buffer);
bool is_enabled(WebIDL::UnsignedLong cap);