Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void
예제 #1
0
 /// <summary>
 /// Unload Texture (ESImage class)
 /// </summary>
 public override void Dispose()
 {
     if (texture != null)
     {
         texture.Dispose();
     }
 }
예제 #2
0
 protected override void DoDisposing(EventArgs e)
 {
     base.DoDisposing(e);
     if (texture != null)
     {
         texture.Dispose();
     }
     texture = null;
 }
예제 #3
0
        public override void Dispose()
        {
            base.Dispose();

            if (texture != null)
            {
                texture.Dispose();
            }
            if (_textureId != 0)
            {
                GL.DeleteTextures(1, ref _textureId);
            }
        }