Home Reference Source Repository
import ToonFragmentShader from 'dh3dlib/js/renderer/toon/ToonFragmentShader.js'
public class | source

ToonFragmentShader

Extends:

FragmentShader → ToonFragmentShader

ToonFragmentShader class

Inherited Summary

From class FragmentShader
public get

get shader name

public get

get shader program

public

bindAttribute(programObject: WebGLProgram): void

bind attributes to given program

public

get shader name

public

getShader(): WebGLShader

get shader object

public

setLightData(light: Light): void

set light object

public

setMaterialData(material: Material): void

set material data