godot/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
bmp
camera
csg
cvtt
dds
denoise
enet
etcpak
freetype
gdscript Merge pull request #64170 from YuriSizov/docs-annotations-in-technicolor 2022-08-20 00:57:01 +02:00
glslang
gltf Document GLTFLight and GLTFSpecGloss 2022-08-14 14:57:58 -05:00
gridmap
hdr
jpg
jsonrpc
lightmapper_rd
mbedtls
meshoptimizer
minimp3
mobile_vr
mono C#: Replace P/Invoke with delegate pointers 2022-08-22 03:36:52 +02:00
msdfgen
multiplayer
navigation
noise
ogg
openxr Improve the make_rst.py parser for BBCode tags 2022-08-15 17:45:10 +03:00
raycast
regex
squish
svg
text_server_adv
text_server_fb
tga
theora
tinyexr
upnp
vhacd
visual_script Make property_*_revert methods multilevel and expose them for scripting 2022-08-18 00:03:53 +03:00
vorbis
webp
webrtc
websocket
webxr
xatlas_unwrap
modules_builders.py
register_module_types.h
SCsub