Home Reference Source
import {PhongShaderSource} from 'glboost/src/middle_level/shaders/PhongShader.js'
public class | source

PhongShaderSource

Method Summary

Public Methods
public

FSDefine_PhongShaderSource(in_: *, f: *, lights: *): *

public

FSShade_PhongShaderSource(f: *, gl: *, lights: *): *

public

prepare_PhongShaderSource(gl: *, shaderProgram: *, expression: *, vertexAttribs: *, existCamera_f: *, lights: *, material: *, extraData: *): *

Public Methods

public FSDefine_PhongShaderSource(in_: *, f: *, lights: *): * source

Params:

NameTypeAttributeDescription
in_ *
f *
lights *

Return:

*

public FSShade_PhongShaderSource(f: *, gl: *, lights: *): * source

Params:

NameTypeAttributeDescription
f *
gl *
lights *

Return:

*

public prepare_PhongShaderSource(gl: *, shaderProgram: *, expression: *, vertexAttribs: *, existCamera_f: *, lights: *, material: *, extraData: *): * source

Params:

NameTypeAttributeDescription
gl *
shaderProgram *
expression *
vertexAttribs *
existCamera_f *
lights *
material *
extraData *

Return:

*