Skip to main content
Module

x/gluten/mod.ts>WebGLRenderingContext#bufferData

OpenGL bindings & WebGL API implementation for Deno.
Go to Latest
method WebGLRenderingContext.prototype.bufferData
import { WebGLRenderingContext } from "https://deno.land/x/gluten@0.1.2/mod.ts";

Initializes and creates the buffer object's data store.

Parameters

target: number
data: ArrayBufferView | number
usage: number