Skip to main content
Module

x/caviar/deps.ts>WebGLRenderingContext#bufferData

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Go to Latest
method WebGLRenderingContext.prototype.bufferData
import { WebGLRenderingContext } from "https://deno.land/x/caviar@2.6.4/deps.ts";

Initializes and creates the buffer object's data store.

Parameters

target: number
data: ArrayBufferView | number
usage: number