( gl: WebGLRenderingContext, vertexSrc: string, fragSrc: string, )
| 60 | } |
| 61 | |
| 62 | export function createProgramWithVertex( |
| 63 | gl: WebGLRenderingContext, |
| 64 | vertexSrc: string, |
| 65 | fragSrc: string, |
| 66 | ): WebGLProgram { |
| 67 | return linkProgram(gl, compileShader(gl, vertexSrc, gl.VERTEX_SHADER), fragSrc); |
| 68 | } |
| 69 | |
| 70 | export interface AccentColors { |
| 71 | accent: [number, number, number]; |
no test coverage detected