virtualx-engine/modules
Ignacio Roldán Etcheverry 2c180f62d9 C#: Replace P/Invoke with delegate pointers
- Moves interop functions to UnmanagedCallbacks struct that
  contains the function pointers and is passed to C#.

- Implements UnmanagedCallbacksGenerator, a C# source generator that
  generates the UnmanagedCallbacks struct in C# and the body for the
  NativeFuncs methods (their implementation just calls the function
  pointer in the UnmanagedCallbacks). The generated methods are needed
  because .NET pins byref parameters of native calls, even if they are
  'ref struct's, which don't need pinning. The generated methods use
  `Unsafe.AsPointer` so that we can benefit from byref parameters
  without suffering overhead of pinning.

Co-authored-by: Raul Santos <raulsntos@gmail.com>
2022-08-22 03:36:52 +02:00
..
basis_universal Refactor module initialization 2022-05-04 17:34:51 +02:00
bmp Make "Godot source files" comment consistent in modules 2022-08-05 17:09:11 -05:00
camera Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
csg Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
cvtt fix 'Comparison result is always the same' warnings 2022-07-29 19:45:22 +02:00
dds Add static methods for creating Image and ImageTexture 2022-07-08 13:40:47 +02:00
denoise Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
enet Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
etcpak Refactor module initialization 2022-05-04 17:34:51 +02:00
freetype Add Text Server related options to the build profiles editor. 2022-08-03 15:06:43 +03:00
gdscript Merge pull request #64170 from YuriSizov/docs-annotations-in-technicolor 2022-08-20 00:57:01 +02:00
glslang Adding Variable Rate Shading support to Godot 2022-07-17 15:42:24 +10:00
gltf Document GLTFLight and GLTFSpecGloss 2022-08-14 14:57:58 -05:00
gridmap Fix error when switching to another GridMap with an item with higher index selected 2022-08-09 19:05:02 -03:00
hdr Make "Godot source files" comment consistent in modules 2022-08-05 17:09:11 -05:00
jpg Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
jsonrpc Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
lightmapper_rd Fix some array size function definition mismatch. 2022-08-04 13:06:17 +02:00
mbedtls Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
meshoptimizer Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
minimp3 Make "Godot source files" comment consistent in modules 2022-08-05 17:09:11 -05:00
mobile_vr Implement Vector4, Vector4i, Projection 2022-07-23 14:00:01 +02:00
mono C#: Replace P/Invoke with delegate pointers 2022-08-22 03:36:52 +02:00
msdfgen [Scons] Implement module dependency sorting. 2022-08-04 20:00:19 +02:00
multiplayer Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
navigation Add NavigationMesh baking for HeightMapShape 2022-08-05 08:56:38 +02:00
noise Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
ogg Rename every instance of "OGG" to "Ogg" 2022-07-28 16:41:38 -03:00
openxr Improve the make_rst.py parser for BBCode tags 2022-08-15 17:45:10 +03:00
raycast Remove ThreadWorkPool, replace by WorkerThreadPool 2022-07-25 15:39:50 +02:00
regex Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
squish Refactor module initialization 2022-05-04 17:34:51 +02:00
svg round dimensions of svg 2022-07-21 20:11:29 -05:00
text_server_adv Allow MSDF rendering for system fonts, fix crash on loading damaged / unsupported font files. 2022-08-09 14:21:09 +03:00
text_server_fb Allow MSDF rendering for system fonts, fix crash on loading damaged / unsupported font files. 2022-08-09 14:21:09 +03:00
tga Make "Godot source files" comment consistent in modules 2022-08-05 17:09:11 -05:00
theora Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
tinyexr Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
upnp Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
vhacd Refactor module initialization 2022-05-04 17:34:51 +02:00
visual_script Make property_*_revert methods multilevel and expose them for scripting 2022-08-18 00:03:53 +03:00
vorbis [Scons] Implement module dependency sorting. 2022-08-04 20:00:19 +02:00
webp Swap arguments of ResourceSaver.save() 2022-07-29 19:53:09 +02:00
webrtc Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
websocket Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
webxr Rename the argument tag to param in XML documentation 2022-08-08 22:34:31 +03:00
xatlas_unwrap Refactor module initialization 2022-05-04 17:34:51 +02:00
modules_builders.py
register_module_types.h Refactor module initialization 2022-05-04 17:34:51 +02:00
SCsub