Beispiel #1
0
 public void Dispose()
 {
     if (texture != null)
     {
         texture.Dispose();
         texture = null;
     }
 }
Beispiel #2
0
 /// <summary>
 /// disposes all opengl related data.
 /// Component should not be used after this
 /// </summary>
 public void Dispose()
 {
     TextureArray.Dispose();
 }