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

ToonVertexShader

Extends:

VertexShader → ToonVertexShader

ToonVertexShader class

Constructor Summary

Public Constructor
public

constructor(gl: WebGLRenderingContext)

constructor

Method Summary

Public Methods
public

bindAttribute(programObject: *)

public

bindAttribute2(programObject: *)

public
public

getDynamicVertexData(dhObject: *): *

public

getVertexData(dhObject: *): *

public
public

setClipPlane(vec4: *)

public

setLightData(light: *)

public

setMaterialData(material: *)

Inherited Summary

From class VertexShader
public

bindAttribute(programObject: *)

public

bindAttribute2(programObject: *)

public
public

getDynamicVertexData(dhObject: *)

public

getName(): *

public

getShader(): *

public

getVertexData(dhObject: *)

public
public

setLightData(light: *)

public

setMaterialData(material: *)

Public Constructors

public constructor(gl: WebGLRenderingContext) source

constructor

Override:

VertexShader#constructor

Params:

NameTypeAttributeDescription
gl WebGLRenderingContext

Public Methods

public bindAttribute(programObject: *) source

Override:

VertexShader#bindAttribute

Params:

NameTypeAttributeDescription
programObject *

public bindAttribute2(programObject: *) source

Override:

VertexShader#bindAttribute2

Params:

NameTypeAttributeDescription
programObject *

public bufferDynamicVertexData(dhObject: *) source

Override:

VertexShader#bufferDynamicVertexData

Params:

NameTypeAttributeDescription
dhObject *

public getDynamicVertexData(dhObject: *): * source

Override:

VertexShader#getDynamicVertexData

Params:

NameTypeAttributeDescription
dhObject *

Return:

*

public getVertexData(dhObject: *): * source

Override:

VertexShader#getVertexData

Params:

NameTypeAttributeDescription
dhObject *

Return:

*

public setAttribPointer() source

Override:

VertexShader#setAttribPointer

public setClipPlane(vec4: *) source

Params:

NameTypeAttributeDescription
vec4 *

public setLightData(light: *) source

Override:

VertexShader#setLightData

Params:

NameTypeAttributeDescription
light *

public setMaterialData(material: *) source

Override:

VertexShader#setMaterialData

Params:

NameTypeAttributeDescription
material *