Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/caviar/src/renderers/webgl/util.ts>setBuffer

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Go to Latest
function setBuffer
import { setBuffer } from "https://deno.land/x/caviar@2.1.8/src/renderers/webgl/util.ts";

Parameters

buffer: WebGLBuffer
location: number
numComponents: number
optional
type: number = [UNSUPPORTED]
optional
target: number = [UNSUPPORTED]
optional
normalize = [UNSUPPORTED]
optional
stride = [UNSUPPORTED]
optional
offset = [UNSUPPORTED]