Exemple #1
0
 /// <summary>
 /// Disposes the shader to probably clear up memory.
 /// </summary>
 public void Dispose()
 {
     if (SFMLShader == null)
     {
         return;
     }
     if (!IsDisposed)
     {
         SFMLShader.Dispose();
         IsDisposed = true;
     }
 }