Search found 17 matches

  • 1
  • 2
by AnKor
14 Oct 2022, 10:27
Forum: General Discussion
Replies: 2
Views: 342

Inline enum reflection causes linker error

Hi! Could you advice what am I doing wrong? Here's the header file: namespace Test { enum class TestEnum { A = 0, B = 1 }; } NS_IMPLEMENT_INLINE_REFLECTION_ENUM(Test::TestEnum) { NsVal("A", Test::TestEnum::A); NsVal("B", Test::TestEnum::B); } And here's what I get from the linker...
by AnKor
12 Sep 2022, 19:54
Forum: General Discussion
Replies: 2
Views: 329

Re: BrushShader and CroppedBitmap tiling

Thanks!
Indeed I can store the coordinates in the constant buffer. Somehow it didn't occur to me :)
by AnKor
10 Sep 2022, 10:52
Forum: General Discussion
Replies: 2
Views: 329

BrushShader and CroppedBitmap tiling

Looks like I managed to stumble upon a case that isn't supported (yet?). I wanted to use an image from an atlas, tile it, and also change its color with a BrushShader. And I found out that BrushShader works fine with either CroppedBitmap or tiling, but not both at the same time. I'll probably just a...
by AnKor
02 Aug 2022, 21:26
Forum: General Discussion
Replies: 8
Views: 408

Re: Threading requirements for Noesis::GUI::Shutdown

Interesting.
I have created https://www.noesisengine.com/bugs/view.php?id=2392 - hope it is enough, I'm not good at this :)

Thank you!
by AnKor
02 Aug 2022, 10:08
Forum: General Discussion
Replies: 8
Views: 408

Re: Threading requirements for Noesis::GUI::Shutdown

Sorry about this (facepalm :) ), but for some reason I can't attach a file, The forum shows error triangle after upload, but doesn't tell why. Anyway, I have prepared two examples based on your Integration sample (the one that displays Settings menu): Here I just moved Init/Shutdown into a separate ...
by AnKor
01 Aug 2022, 17:27
Forum: General Discussion
Replies: 8
Views: 408

Re: Threading requirements for Noesis::GUI::Shutdown

I've attached Main.cpp from SDK's Integration sample. It has minimal changes - I've just moved Init and Shutdown calls into "AThread" routine that works in a separate thread. I even disabled creation of a Views, but just having LoadApplicationResources already causes multiple error at Shut...
by AnKor
28 Jul 2022, 15:26
Forum: General Discussion
Replies: 8
Views: 408

Threading requirements for Noesis::GUI::Shutdown

Hi! We've ran into an issue (NoesisGUI 3.1.4) with Shutdown method reporting threading errors like this: [NOESIS/I] Noesis Shutdown [NOESIS/E] The calling thread (***) cannot access this DispatcherObject because a different thread (***) owns it This happens if we use one thread for GUI:Init and GUI:...
  • 1
  • 2