boyan1742
Topic Author
Posts: 1
Joined: 20 Jan 2022, 15:31

Proper usage of the providers.

21 Jan 2022, 15:49

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
 
User avatar
jsantos
Site Admin
Posts: 3905
Joined: 20 Jan 2012, 17:18
Contact:

Re: Proper usage of the providers.

21 Jan 2022, 19:04

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.

Who is online

Users browsing this forum: Google [Bot] and 64 guests