Home > @visualization-tools/core > GlProgramSpecification
Specification of a webgl program to build.
Signature:
export declare class GlProgramSpecification implements IGlProgramSpec
Implements: IGlProgramSpec
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(vertexShader, fragmentShader, requiredExtensions, optionalExtensions, outAttributes) | Constructs a new instance of the GlProgramSpecification class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| fragmentShader | IGlShader | ||
| optionalExtensions | readonly (keyof IGlExtensions)[] | ||
| outAttributes | readonly string[] | null | ||
| requiredExtensions | readonly (keyof IGlExtensions)[] | ||
| shaderLanguageVersion | number | undefined | ||
| vertexShader | IGlShader |
| Method | Modifiers | Description |
|---|---|---|
| mergeProgramSpecifications(specs) | static |