Exemple #1
0
        public WebGLBuffer CreateBuffer()
        {
            var jsObject = (JSObject)Invoke("createBuffer");
            var wrapper  = new WebGLBuffer(jsObject);

            return(wrapper);
        }
Exemple #2
0
 public void BindBuffer(object target, WebGLBuffer buffer) => Invoke("bindBuffer", target, buffer?.Handle);