Method Dispose NamespaceBonsai.Shaders AssemblyBonsai.Shaders.dll Dispose(bool) Releases all resources used by the Shader class. protected override void Dispose(bool disposing) Parameters disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.