I've installed SharpGL control for WPF. The control is always in Render Loop by which I mean it renders in certain intervals. What I want is a one time draw. Because I'm not making a game and I don't need the scene to be rendered constantly. What should I do?
set RenderTrigger to manual and call openGLControl.DoRender(); once.
openGLControl.RenderTrigger = RenderTrigger.Manual;
openGLControl.DoRender();
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.