Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
WPF 用の SharpGL コントロールをインストールしました。コントロールは常に Render Loop にあります。これは、特定の間隔でレンダリングすることを意味します。私が欲しいのは1回限りの抽選です。私はゲームを作っているわけではないので、シーンを常にレンダリングする必要はありません。私は何をすべきか?
RenderTrigger を手動に設定し、openGLControl.DoRender(); を呼び出します。一度。
openGLControl.RenderTrigger = RenderTrigger.Manual; openGLControl.DoRender();