Page 1 of 1

Proper usage of the providers.

Posted: 21 Jan 2022, 15:49
by boyan1742
Hello,
I have started to implement the Managed version of NoesisGUI into my C# game engine and was wandering: What is the proper way to use the providers?

Is there a class, in which there is a static method to instantiate them, or do I have to make a class that inherits them? If so, what is the default implementation of the LoadXXX methods?

Thanks in advance,
boyan1742

Re: Proper usage of the providers.

Posted: 21 Jan 2022, 19:04
by jsantos
You have a few provider implementations in our Application Framework.

You must install each provider before loading resources using GUI.SetXamlProvider, GUI.SetFontProvider and GUI.SetTextureProvider.

I recommend our minimal C# integration sample available on GitHub.