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

x/threejs_4_deno/src/materials/ShaderMaterial.d.ts>ShaderMaterial

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

Constructors

new
ShaderMaterial(parameters?: ShaderMaterialParameters)

Properties

clipping: boolean
defaultAttributeValues: any
defines: { [key: string]: any; }
deprecated
derivatives: any
extensions: { derivatives: boolean; fragDepth: boolean; drawBuffers: boolean; shaderTextureLOD: boolean; }
fog: boolean
fragmentShader: string
glslVersion: GLSLVersion | null
index0AttributeName: string | undefined
lights: boolean
linewidth: number
morphNormals: boolean
morphTargets: boolean
skinning: boolean
type: string
uniforms: { [uniform: string]: IUniform; }
uniformsNeedUpdate: boolean
vertexShader: string
wireframe: boolean
wireframeLinewidth: number

Methods

toJSON(meta: any): any