Add palette system
This commit is contained in:
parent
f60ae06f59
commit
98d1fc9ca2
1 changed files with 195 additions and 112 deletions
|
|
@ -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],
|
||||
|
|
|
|||
Loading…
Reference in a new issue