if I have a delegate like so:
Delegate void Render(); Render ToRender;
And use it here:
ToRender += FunctionRender; ToRende
foreach (Render render in ToRender.GetInvocationList())
Render temp = ToRender; if (temp != null) { foreach (Render render in temp.GetInvocationList()) { BeginRender(); render(); EndRender(); } }