visualization-tools

Home > @visualization-tools/core > GlProgramSpecification > (constructor)

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);

Parameters

Parameter Type Description
vertexShader IGlShader  
fragmentShader IGlShader  
requiredExtensions readonly (keyof IGlExtensions)[]  
optionalExtensions readonly (keyof IGlExtensions)[]  
outAttributes readonly string[] | null