Add dynamic shader generation

This commit is contained in:
schmelczerandras 2020-07-26 13:35:44 +02:00
parent edd7d4836e
commit 4369cf1770
22 changed files with 300 additions and 124 deletions

View file

@ -1,8 +1,8 @@
import { Drawer } from '../../drawing/drawer';
import { IRenderer } from '../../drawing/i-renderer';
import { Command } from '../command';
export class BeforeDrawCommand extends Command {
public constructor(public readonly drawer?: Drawer) {
public constructor(public readonly drawer?: IRenderer) {
super();
}
}

View file

@ -1,8 +1,8 @@
import { Drawer } from '../../drawing/drawer';
import { IRenderer } from '../../drawing/i-renderer';
import { Command } from '../command';
export class DrawCommand extends Command {
public constructor(public readonly drawer?: Drawer) {
public constructor(public readonly drawer?: IRenderer) {
super();
}
}