C++ structures in GDExtension to Godot

Godot Version

v4.2.1.stable.official [b09f793f5]

Question

Hello,
I am currently working on a GDExtension, to use the LibRaw library, which already works great but I have a question about the best way to set some thing up.
In the LibRaw class there is a structure of more then 30 variables with parameter which can be set. If I use the lib in c++ I can easily set this params by assigning a value. Can I pass the stucture throug the GDExtension that I can set these values in Godot or do I have to create a setter and a getter function for each of these values?

A setter and getter function will be required for each variable. Sorry!

This is too bad, sounds like I have some work to do… :unamused:

Thanks for the quick response.