Search found 3197 matches

by jsantos
23 Sep 2021, 12:42
Forum: General Discussion
Replies: 5
Views: 2098

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

There is a XCode solution available at $NoesisSDK/Build/NoesisGUI-ios.xcworkspace. GLRenderer is part of the App framework, with source code included.
by jsantos
21 Sep 2021, 13:54
Forum: General Discussion
Replies: 8
Views: 1637

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

Thanks for that, if you can reproduce the crash again and send us a dump we will fix it.
by jsantos
20 Sep 2021, 16:42
Forum: General Discussion
Replies: 5
Views: 2098

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
20 Sep 2021, 16:38
Forum: General Discussion
Replies: 11
Views: 375

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: 8
Views: 1637

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

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

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: 8
Views: 1637

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: 8
Views: 1637

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: 5
Views: 2098

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...