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

x/threejs_4_deno/src/renderers/webgl/WebGLAttributes.d.ts>WebGLAttributes

A simple transformation of three.js for use within a Deno workflow
Go to Latest
class WebGLAttributes
import { WebGLAttributes } from "https://deno.land/x/threejs_4_deno@v121/src/renderers/webgl/WebGLAttributes.d.ts";

Constructors

new
WebGLAttributes(gl: WebGLRenderingContext | WebGL2RenderingContext, capabilities: WebGLCapabilities)

Methods

get(attribute: BufferAttribute | InterleavedBufferAttribute): { buffer: WebGLBuffer; type: number; bytesPerElement: number; version: number; }
update(attribute: BufferAttribute | InterleavedBufferAttribute, bufferType: number): void