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

SimpleFragmentShader

Extends:

FragmentShader → SimpleFragmentShader

SimpleFragmentShader 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