Commit Graph

380 Commits

Author SHA1 Message Date
Wojtek Figat
15771355cb Add ShouldSerialize to ISerializable to properly handle serialization of custom C++ types in prefabs
#3499
2026-02-03 22:09:41 +01:00
Wojtek Figat
d60484b917 Merge remote-tracking branch 'origin/master' 2026-01-06 14:35:58 +01:00
Wojtek Figat
7f56d9456b Fix bindings warning when using curve property/field 2025-12-30 22:51:37 +01:00
Wojtek Figat
af29f2f3dc Merge branch 'bindings_namespace_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-bindings_namespace_fix 2025-12-29 22:29:29 +01:00
Wojtek Figat
bbcbe305a8 Merge branch 'bindings_gen_fixes' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-bindings_gen_fixes 2025-12-29 22:02:47 +01:00
35f8051a62 Fix managed boolean array conversion to native array 2025-12-23 01:37:53 +02:00
4453453d46 Fix managed wrapper function parameter handling for BytesContainer 2025-12-23 00:37:25 +02:00
e3f5af530b Fix incorrect class namespace in bindings class name lookups 2025-12-19 23:57:41 +02:00
3eb690fe58 Ensure managed converter functions are exported with optimizations 2025-12-19 01:08:45 +02:00
f95cbb0e52 Fix missing exports for managed converter structures 2025-12-19 01:08:44 +02:00
c0b54be692 Fix clang bindings code generation for non-const ref parameters 2025-12-19 01:08:44 +02:00
Wojtek Figat
c0dda45c7b Fix crash on exit when C# code was bound to asset unloading event called after C# shutdown 2025-11-18 18:00:02 +01:00
Wojtek Figat
c57e128ff1 Merge remote-tracking branch 'origin/master' into 1.11
# Conflicts:
#	Source/Engine/Level/Scene/SceneRendering.cpp
#	Source/Engine/Physics/Colliders/Collider.cpp
#	Source/Engine/Physics/Colliders/Collider.h
2025-09-02 22:23:45 +02:00
Wojtek Figat
3f7fe635d8 Fix 5222f1d35c for inactive preprocessor conditional block 2025-08-29 23:04:46 +02:00
Wojtek Figat
5222f1d35c Add support for parsing inheritance with preprocessor blocks inside it 2025-08-29 21:03:04 +02:00
Wojtek Figat
08154d8fe5 Fix support for nesting classes inside other scripting classes 2025-07-31 15:07:57 +02:00
Wojtek Figat
f9e9f26e97 Remove leftover debug log from bindings generator 2025-04-22 11:04:09 +02:00
Wojtek Figat
15da2d59e5 Add GPUTexture::DownloadData to C#
#2973 #1446
2025-04-07 23:32:37 +02:00
Wojtek Figat
9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
Wojtek Figat
210c8e8fe4 Fix incorrect result array memory copy from native to managed code 2025-04-04 00:36:35 +02:00
Wojtek Figat
8e2f3ec0c0 Fix Version marshaling as parameter 2025-03-06 00:36:39 +01:00
Wojtek Figat
dad8c0cd6b Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Level/Prefabs/Prefab.Apply.cpp
2025-02-27 17:17:02 +01:00
Wojtek Figat
b2c8c4018c Fix scripting bindings codegen for SoftTypeReference and SceneReference
#2761
2025-02-26 22:43:30 +01:00
Wojtek Figat
a6fb651ff4 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Graphics/Materials/MaterialShader.h
2025-02-18 09:19:59 +01:00
Wojtek Figat
9ffbe1f8ca Add support in scripting for using interfaces on structures
#2679
2025-01-31 23:36:15 +01:00
Wojtek Figat
ae74d49b09 Fix bug 2025-01-24 12:24:52 +01:00
Wojtek Figat
c1339765b7 Fix parsing nested template types in scripting type inheritance 2025-01-23 21:32:09 +01:00
Wojtek Figat
fc4e6f4972 Add GPUVertexLayout to graphics backends 2024-12-13 09:20:01 +01:00
Wojtek Figat
35e9e048f2 Merge remote-tracking branch 'origin/master' into 1.10 2024-12-10 11:07:31 +01:00
Wojtek Figat
12d9d94138 Add support for curves in C++ scripting api
#2546
2024-12-04 13:30:56 +01:00
Wojtek Figat
c01824cd09 Add support for using template type inside MarshalAs tag value 2024-12-03 13:33:16 +01:00
Wojtek Figat
10caaf4fe9 Fix parsing scripting type inheritance with generics 2024-12-02 23:36:11 +01:00
Wojtek Figat
81737083a0 Add support for using API_TYPEDEF macro on using typedefs 2024-12-02 23:35:39 +01:00
Wojtek Figat
a7061a7524 Fix raw scripting object pointers auto-serialization 2024-11-25 22:13:21 +01:00
Wojtek Figat
9bf680cc1a Add multi-line string literal parsing inside custom api code injection blocks 2024-11-19 16:17:11 +01:00
Chandler Cox
379bccc421 Support C++ nameless function arguments for C# gen. 2024-10-30 12:18:03 -05:00
Chandler Cox
a1c7132e48 Add support for trailing return types for c# generation. 2024-10-28 22:11:47 -05:00
Wojtek Figat
5a873ad606 Fix crash when boxing native non-POD structure into managed data 2024-10-25 13:25:47 +02:00
Chandler Cox
acbb534320 Handle ex: API_FIELD() Type FieldName {DefaultValue}; 2024-10-21 21:34:34 -05:00
Chandler Cox
cc511453f5 Handle c# code gen when C++ field has default value with style type type{} 2024-10-21 21:24:59 -05:00
Chandler Cox
6c077a83bc Handle C++ bracket default values for code gen to C# 2024-10-21 21:01:48 -05:00
Wojtek Figat
18dc475f40 Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Engine/UI/GUI/Common/Button.cs
2024-09-23 14:11:05 +02:00
Wojtek Figat
ed7f190778 Revert partially 075c224022 2024-09-20 00:08:49 +02:00
Wojtek Figat
075c224022 Fix C# structures memory packing to match C++ better
#2709
2024-09-19 19:35:45 +02:00
Wojtek Figat
0a22d5ab4d Fix managed arrays interop bug when passed via generic object parameter
#2613
2024-09-17 00:15:04 +02:00
Wojtek Figat
49eeb7bf9a Fix parsing forward enum declaration in scripting api 2024-09-12 22:37:36 +02:00
Wojtek Figat
9daddccbed Merge remote-tracking branch 'origin/master' into 1.9
# Conflicts:
#	Source/Editor/Modules/ContentDatabaseModule.cs
#	Source/Editor/Surface/SurfaceUtils.cs
#	Source/Editor/Windows/Assets/MaterialInstanceWindow.cs
#	Source/Engine/Foliage/Foliage.cpp
#	Source/Engine/Graphics/Models/MeshBase.h
#	Source/Engine/Tools/MaterialGenerator/MaterialGenerator.Textures.cpp
2024-09-12 13:38:20 +02:00
Wojtek Figat
e834f2ec94 Hide internal codegen variable from debugger 2024-09-12 12:40:50 +02:00
Chandler Cox
c452ffec8b Add aadditional check for allocation args generic arg count. 2024-09-10 13:08:44 -05:00
Chandler Cox
09b3640116 Add code gen for FixedAllocation arrays to generate Collection attribute with accolation count. 2024-09-10 13:04:33 -05:00