Home > @visualization-tools/core > GlShader
WebGl shader specification.
Signature:
export declare class GlShader
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(source, requiredLanguageVersion) | Constructs a new instance of the GlShader class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| requiredLanguageVersion? | number | undefined | (Optional) Absence indicates version agnostic. | |
| source | string |
| Method | Modifiers | Description |
|---|---|---|
| combineShaders(shaders) | static |
|
| getShaderFlag(this, flagName, value) | static |
|
| getShaderInt(this, flagName, value) | static |