Methods
compilePrograms
- compilePrograms(): Promise<void>
createProgram
- createProgram(vertexShaderSource: string, fragmentShaderSource: string, substitutions: {}): Promise<WebGLProgram>
-
Parameters
-
vertexShaderSource: string
-
fragmentShaderSource: string
-
substitutions: {}
Returns Promise<WebGLProgram>