Create shader for Week 5 once and reuse it rather than recreating it every frame.

This commit is contained in:
EliteMasterEric 2024-09-23 21:41:48 -04:00
parent 7e75308423
commit ec9b5db210
2 changed files with 6 additions and 1 deletions

2
assets

@ -1 +1 @@
Subproject commit f672c8ef43893b207829dd2b1445c89501409ab9
Subproject commit 8140f8255c0db78135dbfa7b6d329f52c363f51b

View file

@ -50,4 +50,9 @@ class AdjustColorShader extends FlxRuntimeShader
return this.contrast;
}
public override function toString():String
{
return 'AdjustColorShader(${this.hue}, ${this.saturation}, ${this.brightness}, ${this.contrast})';
}
}