Search found 3195 matches

by jsantos
Yesterday, 16:42
Forum: General Discussion
Replies: 3
Views: 1476

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

This is probably related to TexStorage implementation on iOS. Could you try disabling it by commenting the following lines in GLRenderDevice.cpp: //////////////// // TexStorage // //////////////// if (IsSupported(Extension::ARB_texture_storage)) { TexStorage2D_ = glTexStorage2D; } else if (IsSupport...
by jsantos
Yesterday, 16:38
Forum: General Discussion
Replies: 4
Views: 46

Re: Cannot build the UE4 plugin 3.1.1

The plugin was updated for 4.27, although the zip still reads 4.26
We also fixed this. Sorry for the confusion.
by jsantos
17 Sep 2021, 11:19
Forum: General Discussion
Replies: 6
Views: 671

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
17 Sep 2021, 11:11
Forum: General Discussion
Replies: 2
Views: 930

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
17 Sep 2021, 11:07
Forum: General Discussion
Replies: 1
Views: 654

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
17 Sep 2021, 11:01
Forum: General Discussion
Replies: 6
Views: 671

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
17 Sep 2021, 10:55
Forum: General Discussion
Replies: 6
Views: 671

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: 3
Views: 1476

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: 1757

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: 150666

Re: Latest Version: NoesisGUI v3.1.1

Release Notes for 3.1.1