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/WebGLCapabilities.js>WebGLCapabilities

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

Constructors

new
WebGLCapabilities(
gl: WebGLRenderingContext,
extensions: any,
)

Properties

floatFragmentTextures: boolean
floatVertexTextures: boolean
readonly
isWebGL2: boolean
logarithmicDepthBuffer: boolean
maxAttributes: number
maxCubemapSize: number
maxFragmentUniforms: number
maxTextures: number
maxTextureSize: number
maxVaryings: number
maxVertexTextures: number
maxVertexUniforms: number
precision: string
vertexTextures: boolean

Methods

getMaxPrecision(precision: string): string