Beispiel #1
0
        public override void Dispose()
        {
            base.Dispose();

            if (processor != null)
            {
                processor.Release();
                processor = null;
            }

            if (shader != null)
            {
                shader.Release();
                shader = null;
            }

            if (preshader != null)
            {
                preshader.Release();
                preshader = null;
            }
        }