Home > @visualization-tools/core > GlProgramSpecification > (constructor)
Constructs a new instance of the GlProgramSpecification class
Signature:
constructor(vertexShader: IGlShader, fragmentShader: IGlShader, requiredExtensions?: readonly (keyof IGlExtensions)[], optionalExtensions?: readonly (keyof IGlExtensions)[], outAttributes?: readonly string[] | null);
| Parameter | Type | Description |
|---|---|---|
| vertexShader | IGlShader | |
| fragmentShader | IGlShader | |
| requiredExtensions | readonly (keyof IGlExtensions)[] | |
| optionalExtensions | readonly (keyof IGlExtensions)[] | |
| outAttributes | readonly string[] | null |