visualization-tools

Home > @visualization-tools/core > GlShader

GlShader class

WebGl shader specification.

Signature:

export declare class GlShader 

Constructors

Constructor Modifiers Description
(constructor)(source, requiredLanguageVersion)   Constructs a new instance of the GlShader class

Properties

Property Modifiers Type Description
requiredLanguageVersion?   number | undefined (Optional) Absence indicates version agnostic.
source   string  

Methods

Method Modifiers Description
combineShaders(shaders) static  
getShaderFlag(this, flagName, value) static  
getShaderInt(this, flagName, value) static