Inheritance: ShaderBase
Exemplo n.º 1
0
 private void CleanupShaders()
 {
     FontShader.Dispose();
     FontShader = null;
 }
Exemplo n.º 2
0
 private void InitializeShaders()
 {
     FontShader = new FontShader(this);
 }
Exemplo n.º 3
0
 //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);
 }