public WebGLBuffer CreateBuffer() { var jsObject = (JSObject)Invoke("createBuffer"); var wrapper = new WebGLBuffer(jsObject); return(wrapper); }
public void BindBuffer(object target, WebGLBuffer buffer) => Invoke("bindBuffer", target, buffer?.Handle);