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