godot/modules
Ignacio Roldán Etcheverry 17b2838f39 C#: Cleanup Variant marshaling code in source/bindings generators
This change aims to reduce the number of places that need to be changed
when adding or editing a Godot type to the bindings.

Since the addition of `Variant.From<T>/As<T>` and
`VariantUtils.CreateFrom<T>/ConvertTo<T>`, we can now replace a lot of
the previous code in the bindings generator and the source generators
that specify these conversions for each type manually.

The only exceptions are the generic Godot collections (`Array<T>` and
`Dictionary<TKey, TValue>`) which still use the old version, as that
one cannot be matched by our new conversion methods (limitation in the
language with generics, forcing us to use delegate pointers).

The cleanup applies to:

- Bindings generator:
  - `TypeInterface.cs_variant_to_managed`
  - `TypeInterface.cs_managed_to_variant`
- Source generators:
  - `MarshalUtils.AppendNativeVariantToManagedExpr`
  - `MarshalUtils.AppendManagedToNativeVariantExpr`
  - `MarshalUtils.AppendVariantToManagedExpr`
  - `MarshalUtils.AppendManagedToVariantExpr`
2022-12-02 14:47:12 +01:00
..
basis_universal Make some Image methods static 2022-10-14 14:34:15 +02:00
bmp Make some Image methods static 2022-10-14 14:34:15 +02:00
camera Make some Image methods static 2022-10-14 14:34:15 +02:00
csg Document collision_priority in the CSGShape3D class 2022-10-24 18:44:30 +02:00
cvtt Make some Image methods static 2022-10-14 14:34:15 +02:00
dds Add static methods for creating Image and ImageTexture 2022-07-08 13:40:47 +02:00
denoise Make some Image methods static 2022-10-14 14:34:15 +02:00
enet [MP] Remove connection state signals from MultiplayerPeer. 2022-11-02 15:17:23 +01:00
etcpak Make some Image methods static 2022-10-14 14:34:15 +02:00
freetype SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00
gdscript Merge pull request #69166 from souplamp/icon-annotation-not-working 2022-12-02 03:04:23 +03:00
glslang vulkan: Update all components to Vulkan SDK 1.3.231.1 2022-11-03 12:20:46 +01:00
gltf Merge pull request #68665 from TokageItLab/cut-unkeyed-gltf-anim 2022-11-29 16:51:56 +01:00
gridmap Use forward-declarations in big editor classes 2022-11-29 09:59:43 +01:00
hdr Make some Image methods static 2022-10-14 14:34:15 +02:00
jpg Merge pull request #66929 from MladoniSzabi/save_jpeg_file 2022-10-31 10:48:10 +01:00
jsonrpc Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
lightmapper_rd Add optional UV2 logic for lightmapping to primitive shapes 2022-11-13 19:28:10 +11:00
mbedtls Code simplifications found by cppcheck 2022-11-21 08:43:36 +01:00
meshoptimizer Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
minimp3 Change time parameters and variables to double type 2022-09-26 13:52:54 -05:00
mobile_vr Style: Misc docs and comment style and language fixes 2022-11-02 19:01:18 +01:00
mono C#: Cleanup Variant marshaling code in source/bindings generators 2022-12-02 14:47:12 +01:00
msdfgen [Scons] Implement module dependency sorting. 2022-08-04 20:00:19 +02:00
multiplayer Merge pull request #68689 from Faless/mp/4.x_offline_is_server 2022-11-20 15:37:26 +01:00
navigation Remove redundant Variant-types initializations 2022-11-14 19:35:19 +01:00
noise Use forward-declarations in big editor classes 2022-11-29 09:59:43 +01:00
ogg Change Array arguments to TypedArray 2022-09-01 13:13:19 +02:00
openxr Fix OpenXR on the Meta Quest: XR_KHR_loader_init_android is not reported as available (but it works anyway) 2022-11-29 20:45:01 -06:00
raycast Update embree to 3.13.5 2022-11-25 13:09:04 +01:00
regex Style: Misc docs and comment style and language fixes 2022-11-02 19:01:18 +01:00
squish Make some Image methods static 2022-10-14 14:34:15 +02:00
svg ImageLoaderSVG: Improve error reporting 2022-11-23 13:27:31 +01:00
text_server_adv [TextServer] Fix line breaking for the special fonts that substitute a long string (with breaks opportunities in it) with a single glyph. 2022-11-21 09:42:34 +02:00
text_server_fb Implement SVG in OT support. 2022-11-04 14:10:54 +02:00
tga Add buffer size check to Image.load_tga_from_buffer(). Fixes #67985 2022-10-30 11:20:50 -05:00
theora Merge pull request #66516 from DeeJayLSP/update_theora 2022-11-15 16:25:05 +01:00
tinyexr Make some Image methods static 2022-10-14 14:34:15 +02:00
upnp Style: Misc docs and comment style and language fixes 2022-11-02 19:01:18 +01:00
vhacd Refactor module initialization 2022-05-04 17:34:51 +02:00
vorbis Code simplifications found by cppcheck 2022-11-21 08:43:36 +01:00
webp Overhaul WebP packer and split compression options 2022-11-15 11:52:22 -03:00
webrtc [MP] Remove connection state signals from MultiplayerPeer. 2022-11-02 15:17:23 +01:00
websocket Fix WebSocket connection failed on Web. 2022-11-03 14:29:39 +08:00
webxr Fix WebXR after changing Emscripten configuration noExitRuntime to false 2022-11-10 16:10:47 -06:00
xatlas_unwrap SCons: Unify tools/target build type configuration 2022-09-26 16:31:46 +02:00
zip Merge pull request #68581 from oganm/oganm/master 2022-11-22 12:36:45 +01:00
modules_builders.py SCons: Improve logic to generate modules_tests.gen.h 2022-02-08 13:01:35 +01:00
register_module_types.h Refactor module initialization 2022-05-04 17:34:51 +02:00
SCsub SCons: Improve logic to generate modules_tests.gen.h 2022-02-08 13:01:35 +01:00