Search found 3193 matches

by jsantos
Yesterday, 11:19
Forum: General Discussion
Replies: 6
Views: 39

Re: Crash using std::map to sort items in ObservableCollection

ObservableCollection inherits from BaseCollection who contains a: Vector<Ptr<BaseComponent>> mItems; But yes, the API of ObservableCollection could be improved to be more C++ friendly and we have future plans to improve all this and our reflection architecture to allow more native ways to provide co...
by jsantos
Yesterday, 11:11
Forum: General Discussion
Replies: 2
Views: 48

Re: Setting Noesis Default Settings

You can manually invoke: Noesis.GUI.SetFontFallbacks Noesis.GUI.SetFontDefaultProperties Noesis.GUI.SetApplicationResources Although I don't recommend doing that on Unity. We needed to break compatibility in 3.1 but that's something we don't expect to happen again. And if it happens we will try to b...
by jsantos
Yesterday, 11:07
Forum: General Discussion
Replies: 1
Views: 25

Re: Texture State

We don't expose something like that in our API but if you want to hack a bit, the class NoesisTextureProvider contains a private dictionary of potential active textures. Probably not exactly what you need. I recommend using Unity for getting that information.
by jsantos
Yesterday, 11:01
Forum: General Discussion
Replies: 6
Views: 39

Re: Crash using std::map to sort items in ObservableCollection

So I decided to use an std::map and std::vector (for duplicate keys) like this: The problem with that code is that the only *hard* references to your items are in myCollection. When you clear that collection all the items are released (because probably they only have one reference). So your previou...
by jsantos
Yesterday, 10:55
Forum: General Discussion
Replies: 6
Views: 39

Re: Crash using std::map to sort items in ObservableCollection

Must admit, I haven't quite got my head around Noesis's ref counted pointers, they seem very different to std smart pointers!
I assume you read our C++ Architecture Guide ?
by jsantos
16 Sep 2021, 14:51
Forum: General Discussion
Replies: 2
Views: 456

Re: TexStorage2D_(target, levels, internalformat, width, height) [GL_INVALID_VALUE] error

We were thinking about deprecating GL on iOS, right now it is a path we are not testing as extensively as the rest of implementations. Have you considered switching to Metal? in fact, for Apple TV (recently added) we are only supporting Metal. If this is critical for you, please create a ticket in t...
by jsantos
16 Sep 2021, 13:11
Forum: General Discussion
Replies: 2
Views: 472

Re: Update UI from different thread.

Besides the issue with the dispatcher, async DataContexts are tricky. Make sure you are implementing them right. There is a good article on the MSDN.

I am going to mark this as solved.
by jsantos
15 Sep 2021, 21:09
Forum: Official Announcements
Replies: 60
Views: 147162

Re: Latest Version: NoesisGUI v3.1.1

Release Notes for 3.1.1
by jsantos
13 Sep 2021, 15:11
Forum: General Discussion
Replies: 1
Views: 1388

Re: Vulkan support for Noesis

There is no official Vulkan renderer available. We are working on it. Our customers are creating their own implementations, there is also one available at Github

Sorry for the inconveniences.
by jsantos
13 Sep 2021, 15:06
Forum: General Discussion
Replies: 1
Views: 1125

Re: XAML UI editor in Linux

What is the alternative of Microsoft Blend on Linux for editing the UI XAML files in Noesis GUI. How can I visualize them? We are working on an alternative for having Blend on Linux but for now the only way is using XamlPlayer + text editor like VSCode. Also, on Linux launching the Xaml Player v3.1...