import SimpleVertexShader from 'dh3dlib/js/renderer/simple/SimpleVertexShader.js'
Constructor Summary
Public Constructor | ||
public |
constructor(gl: WebGLRenderingContext) constructor |
Method Summary
Public Methods | ||
public |
bindAttribute(programObject: *) |
|
public |
bindAttribute2(programObject: *) |
|
public |
bufferDynamicVertexData(dhObject: *) |
|
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 |
bufferDynamicVertexData(dhObject: *) |
|
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#constructorParams:
Name | Type | Attribute | Description |
gl | WebGLRenderingContext |
Public Methods
public bindAttribute(programObject: *) source
Override:
VertexShader#bindAttributeParams:
Name | Type | Attribute | Description |
programObject | * |
public bindAttribute2(programObject: *) source
Override:
VertexShader#bindAttribute2Params:
Name | Type | Attribute | Description |
programObject | * |
public bufferDynamicVertexData(dhObject: *) source
Override:
VertexShader#bufferDynamicVertexDataParams:
Name | Type | Attribute | Description |
dhObject | * |
public getDynamicVertexData(dhObject: *): * source
Override:
VertexShader#getDynamicVertexDataParams:
Name | Type | Attribute | Description |
dhObject | * |
Return:
* |
public getVertexData(dhObject: *): * source
Override:
VertexShader#getVertexDataParams:
Name | Type | Attribute | Description |
dhObject | * |
Return:
* |
public setClipPlane(vec4: *) source
Params:
Name | Type | Attribute | Description |
vec4 | * |
public setLightData(light: *) source
Override:
VertexShader#setLightDataParams:
Name | Type | Attribute | Description |
light | * |
public setMaterialData(material: *) source
Override:
VertexShader#setMaterialDataParams:
Name | Type | Attribute | Description |
material | * |