private void CleanupShaders() { FontShader.Dispose(); FontShader = null; }
private void InitializeShaders() { FontShader = new FontShader(this); }
//TODO: Rework this. Hardcode common shaders and also turn it into a list so other shaders can be added. private void InitializeShaders() { SpriteShader = new SpriteShader(this); FontShader = new FontShader(this); }