Reply To: [FR] OnRenderImage node?

FlowCanvas Forums Support [FR] OnRenderImage node? Reply To: [FR] OnRenderImage node?

#2838
elvisish
Participant

You should nnot really worry about disabling the event node. The event itself does not really consume any resources if it does not actually do anything : -). What consume resources here is mostly the Graphics.Blit call rather than the event itself. Thus simply having a switch node in between is a good way to do what you want. You can also disable the component if you want to use the other implementation.

So, the switch node would go in-between the OnRenderImage event and the blit, and it should blit to nothing? If I do that, the screen just freezes frame as the OnImageRender event is still calling for OnImageRender. How should I best arrange the switch node so that it stops making the call (so it doesn’t freeze the screen buffer)?