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

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