Add palette system

This commit is contained in:
schmelczerandras 2020-09-23 16:27:02 +02:00
parent f60ae06f59
commit 98d1fc9ca2
19 changed files with 196 additions and 113 deletions

View file

@ -15,7 +15,7 @@ export default abstract class Program implements IProgram {
type: GLenum;
}> = [];
constructor(protected gl: UniversalRenderingContext) {}
constructor(protected readonly gl: UniversalRenderingContext) {}
public async initialize(
[vertexShaderSource, fragmentShaderSource]: [string, string],