Search found 4 matches

by Naphtalene
16 Aug 2021, 19:08
Forum: General Discussion
Replies: 6
Views: 8060

Re: thread safety of IRenderer

alright thanks again !
by Naphtalene
16 Aug 2021, 18:59
Forum: General Discussion
Replies: 6
Views: 8060

Re: thread safety of IRenderer

Turns out
Ptr<IView> current_view;
current_view->GetContent(); // returns a FrameworkElement*
and
VisualTreeHelper::GetRoot(const Visual* ) //takes a Visual* 
by Naphtalene
16 Aug 2021, 18:40
Forum: General Discussion
Replies: 6
Views: 8060

Re: thread safety of IRenderer

Alright i will do it this way, Thank you very much !
by Naphtalene
14 Aug 2021, 15:57
Forum: General Discussion
Replies: 6
Views: 8060

thread safety of IRenderer

Hi, I need a way to block input events that are over a GUI View. i've seen that thread : https://www.noesisengine.com/forums/viewtopic.php?t=698 my question is, is it safe to operate on IRenderer on the main thread: Ptr<IView> current_view; IRenderer* uiRenderer = current_view->GetRenderer(); Visual...