コード例 #1
0
 public virtual void Dispose()
 {
     //Gif?.Dispose();
     Images?.Dispose();
     Filter?.Dispose();
     polarConvertShader?.Dispose();
     foreach (var imagePipeline in pipelines)
     {
         imagePipeline.Dispose();
     }
     pixelValueShader?.Dispose();
     SharedModel?.Dispose();
 }
コード例 #2
0
        public virtual void Dispose()
        {
            Progress?.Dispose();
            thumbnail?.Dispose();
            stats?.Dispose();
            gif?.Dispose();

            Images?.Dispose();
            Filter?.Dispose();
            polarConvertShader?.Dispose();
            foreach (var imagePipeline in pipelines)
            {
                imagePipeline.Dispose();
            }
            pixelValueShader?.Dispose();
            SharedModel?.Dispose();
        }
コード例 #3
0
ファイル: Models.cs プロジェクト: Monkeybin11/ImageViewer-1
        public virtual void Dispose()
        {
            Progress?.Dispose();
            thumbnail?.Dispose();
            stats?.Dispose();
            gif?.Dispose();
            scaling?.Dispose();
            overlay?.Dispose();
            ssim?.Dispose();

            Images?.Dispose();
            Filter?.Dispose();
            polarConvertShader?.Dispose();
            convertTo3DShader?.Dispose();
            foreach (var imagePipeline in pipelines)
            {
                imagePipeline.Dispose();
            }
            pixelValueShader?.Dispose();
            SharedModel?.Dispose();

            // finally, destroy directx resources
            Device.Get().Dispose();
        }