This project is read-only.

Without refresh

Dec 27, 2012 at 6:20 AM


I'm new on that subject, so hello everyone.

I try to recognize that librares posibilities. I want to use in with wpf. On my application I need to redraw a opengl not always, but only when I want it - so I want to switch off  loop for redraw. 

Is it possible with that ?


thnx in advance


Dec 28, 2012 at 12:20 PM

I'll have to double check this for you, but at the moment I think this is not possible - but I can add this as a feature. I've copied this discussion to a work item and will add the feature in the next release.

Dec 28, 2012 at 12:20 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Dec 30, 2012 at 8:39 PM
Edited Dec 30, 2012 at 8:43 PM

This feature has been implemented. To use it, set the 'RenderTrigger' property of an OpenGLControl to 'Manual'. To perform rendering, call the DoRender function of the OpenGLControl.


See also the 'RenderTriggerSample' from the SharpGL Samples solution.

Mar 26, 2013 at 3:20 AM
Was this only implemented on the WinForms control? I'm using the WPF control assembly version but I'm not seeing the RenderTrigger property at all?