Beispiel #1
0
        /// <summary>
        /// Dispose of the host shader resources.
        /// </summary>
        public void Dispose()
        {
            HostProgram.Dispose();

            foreach (ShaderCodeHolder holder in Shaders)
            {
                holder?.HostShader.Dispose();
            }
        }
Beispiel #2
0
 /// <summary>
 /// Dispose of the host shader resources.
 /// </summary>
 public void Dispose()
 {
     HostProgram.Dispose();
 }