Commit Graph
209 Commits
Author SHA1 Message Date
mafiesto4 0fc3972cea Refactor #2746 to use ScriptingObjectInterfaceReference for C# too instead of attribute
Use `MarshalAs=ScriptingObject*` for more universal way of marshaling data between C++ and C#
2026-09-14 06:58:40 +02:00
mafiesto4 a7754f3137 Merge branch 'dev/ObjectInterfaceReferences' of https://github.com/ifromstone/FlaxEngine into ifromstone-dev/ObjectInterfaceReferences
# Conflicts:
#	Source/Engine/Scripting/Internal/ManagedDictionary.cpp
2026-09-12 12:40:59 +02:00
Ari Vuollet 0c9431e7d7 Pass converted non-const lvalue reference parameters as temporaries 2026-08-10 20:30:48 +03:00
mafiesto4 e0f234c667 Add enum serialization as string via EnumString attribute 2026-06-03 13:00:43 +02:00
mafiesto4 bdeb89538c Optimize auto generated Variant Types in bindings to reduce dynamic memory allocs in game builds 2026-06-03 11:05:17 +02:00
Andrei Gagua 54a103d840 Upd: Array & Dictionary support for the ObjectInterfaceReferences 2026-05-24 13:27:46 +03:00
Andrei Gagua f8d436ca75 New: Add interface-filtered object references
Add native hard and soft reference types for scene objects that implement
a scripting interface:

- ScriptingObjectInterfaceReference<T>
- SoftObjectInterfaceReference<T>
2026-05-24 10:12:31 +03:00
mafiesto4 2fc95bdf57 Merge remote-tracking branch 'origin/master' into 1.12
# Conflicts:
#	Content/Editor/MaterialTemplates/Deformable.shader
#	Flax.flaxproj
#	Source/Engine/Content/Content.h
#	Source/Engine/Serialization/JsonTools.cpp
2026-04-01 17:14:21 +02:00
mafiesto4 8b383d4dbe Fix regression on Large Worlds build and bunch of warnings 2026-03-30 23:50:03 +02:00
mafiesto4 e2fbd83086 Optimize VariantType name allocs to use static type when possible 2026-03-30 21:56:01 +02:00
mafiesto4 2748216190 Fix using Dictionary as virtual method parameter in scripting bindings 2026-03-30 19:55:44 +02:00
mafiesto4 bf20f5d2bf Fix scripting bindings in searching virtual methods to invoke when there is a name and parameter count collision
#3649
2026-03-30 19:54:47 +02:00
mafiesto4 45a8d82a83 Merge remote-tracking branch 'origin/master' into 1.12
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GUI.flax
#	Flax.flaxproj
#	Source/Editor/Windows/AboutDialog.cs
#	Source/Engine/Serialization/Stream.cpp
#	Source/Shaders/GUICommon.hlsl
2026-03-13 08:09:16 +01:00
mafiesto4 afe917a7f3 Improve e7016564b1 to reduce recompilation on commit changes 2026-03-12 22:51:29 +01:00
mafiesto4 e7016564b1 Add Git repository branch name and commit hash injection into generated code module metadata 2026-03-12 14:27:34 +01:00
mafiesto4 3cfa110a48 Merge remote-tracking branch 'origin/master' into 1.12
# Conflicts:
#	Source/Editor/Options/InterfaceOptions.cs
#	Source/Engine/Audio/OpenAL/AudioBackendOAL.cpp
#	Source/Engine/Graphics/Graphics.cpp
#	Source/Engine/GraphicsDevice/Vulkan/CmdBufferVulkan.cpp
#	Source/Engine/GraphicsDevice/Vulkan/CmdBufferVulkan.h
#	Source/Engine/GraphicsDevice/Vulkan/Config.h
#	Source/Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.cpp
#	Source/Engine/GraphicsDevice/Vulkan/GPUDeviceVulkan.h
#	Source/Engine/GraphicsDevice/Vulkan/QueueVulkan.cpp
2026-03-10 15:08:43 +01:00
Ari Vuollet 5f9e8dedec Pass String reference values via temporary values 2026-03-02 23:40:41 +02:00
mafiesto4 c4d20f06ee Move GetDisplayServer to LinuxPlatform (add support for custom platform scripting api)
#2800
2026-02-12 09:24:11 +01:00
mafiesto4 f045b5b6b6 Merge remote-tracking branch 'origin/master' into 1.12
# Conflicts:
#	Content/Editor/Camera/M_Camera.flax
#	Content/Editor/CubeTexturePreviewMaterial.flax
#	Content/Editor/DebugMaterials/DDGIDebugProbes.flax
#	Content/Editor/DebugMaterials/SingleColor/Decal.flax
#	Content/Editor/DebugMaterials/SingleColor/Particle.flax
#	Content/Editor/DebugMaterials/SingleColor/Surface.flax
#	Content/Editor/DebugMaterials/SingleColor/SurfaceAdditive.flax
#	Content/Editor/DebugMaterials/SingleColor/Terrain.flax
#	Content/Editor/DefaultFontMaterial.flax
#	Content/Editor/Gizmo/FoliageBrushMaterial.flax
#	Content/Editor/Gizmo/Material.flax
#	Content/Editor/Gizmo/MaterialWire.flax
#	Content/Editor/Gizmo/SelectionOutlineMaterial.flax
#	Content/Editor/Gizmo/VertexColorsPreviewMaterial.flax
#	Content/Editor/Highlight Material.flax
#	Content/Editor/Icons/IconsMaterial.flax
#	Content/Editor/IesProfilePreviewMaterial.flax
#	Content/Editor/MaterialTemplates/Features/ForwardShading.hlsl
#	Content/Editor/Particles/Particle Material Color.flax
#	Content/Editor/Particles/Smoke Material.flax
#	Content/Editor/SpriteMaterial.flax
#	Content/Editor/Terrain/Circle Brush Material.flax
#	Content/Editor/Terrain/Highlight Terrain Material.flax
#	Content/Editor/TexturePreviewMaterial.flax
#	Content/Editor/Wires Debug Material.flax
#	Content/Engine/DefaultDeformableMaterial.flax
#	Content/Engine/DefaultMaterial.flax
#	Content/Engine/DefaultRadialMenu.flax
#	Content/Engine/DefaultTerrainMaterial.flax
#	Content/Engine/SingleColorMaterial.flax
#	Content/Engine/SkyboxMaterial.flax
#	Flax.flaxproj
#	Source/Engine/Graphics/Materials/MaterialShader.h
#	Source/Engine/Graphics/Materials/MaterialShaderFeatures.cpp
#	Source/Engine/Renderer/RenderList.h
#	Source/Shaders/Reflections.shader
#	Source/Shaders/ReflectionsCommon.hlsl
#	Source/Tools/Flax.Build/Bindings/BindingsGenerator.Cpp.cs
2026-02-11 00:20:38 +01:00
mafiesto4 15771355cb Add ShouldSerialize to ISerializable to properly handle serialization of custom C++ types in prefabs
#3499
2026-02-03 22:09:41 +01:00
mafiesto4 4b9fa0dcf5 Add OnSerializing/OnSerialized/OnDeserializing/OnDeserialized callbacks to auto serialization code-gen 2026-01-09 10:24:38 +01:00
mafiesto4 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
mafiesto4 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
Ari Vuollet 35f8051a62 Fix managed boolean array conversion to native array 2025-12-23 01:37:53 +02:00
Ari Vuollet 4453453d46 Fix managed wrapper function parameter handling for BytesContainer 2025-12-23 00:37:25 +02:00
Ari Vuollet e3f5af530b Fix incorrect class namespace in bindings class name lookups 2025-12-19 23:57:41 +02:00
Ari Vuollet 3eb690fe58 Ensure managed converter functions are exported with optimizations 2025-12-19 01:08:45 +02:00
Ari Vuollet f95cbb0e52 Fix missing exports for managed converter structures 2025-12-19 01:08:44 +02:00
Ari Vuollet c0b54be692 Fix clang bindings code generation for non-const ref parameters 2025-12-19 01:08:44 +02:00
mafiesto4 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
mafiesto4 15da2d59e5 Add GPUTexture::DownloadData to C#
#2973 #1446
2025-04-07 23:32:37 +02:00
mafiesto4 9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
mafiesto4 210c8e8fe4 Fix incorrect result array memory copy from native to managed code 2025-04-04 00:36:35 +02:00
mafiesto4 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
mafiesto4 b2c8c4018c Fix scripting bindings codegen for SoftTypeReference and SceneReference
#2761
2025-02-26 22:43:30 +01:00
mafiesto4 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
mafiesto4 9ffbe1f8ca Add support in scripting for using interfaces on structures
#2679
2025-01-31 23:36:15 +01:00
mafiesto4 35e9e048f2 Merge remote-tracking branch 'origin/master' into 1.10 2024-12-10 11:07:31 +01:00
mafiesto4 12d9d94138 Add support for curves in C++ scripting api
#2546
2024-12-04 13:30:56 +01:00
mafiesto4 a7061a7524 Fix raw scripting object pointers auto-serialization 2024-11-25 22:13:21 +01:00
mafiesto4 68653fa91f Add small code optimizations 2024-05-10 12:27:28 +02:00
mafiesto4 6b35c0a161 Merge remote-tracking branch 'origin/master' into 1.8
# Conflicts:
#	Flax.flaxproj
2024-03-19 20:23:34 +01:00
GoaLitiuM ed21876bb8 Fix duplicate generation of native variant conversion helpers 2024-03-18 17:34:49 +02:00
mafiesto4 161773a8be Fix serialization bug when compiling with Clang 2024-02-29 01:41:53 +01:00
mafiesto4 859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
mafiesto4 c7a449fe1c Fix marshaling custom type array to C# with MarshalAs used 2024-02-15 18:28:51 +01:00
mafiesto4 43f344ee13 Simplify bindings code for object refs 2024-02-15 10:54:33 +01:00
mafiesto4 f730657518 Add support for using pointer in MarshalAs in scripting types 2024-02-15 10:47:45 +01:00
mafiesto4 b2621ff799 Codestyle fix for #2214 2024-02-06 11:13:00 +01:00
mafiesto4 756a991c2c Merge branch 'BugFixes' of https://github.com/NoriteSC/FlaxEngineFork into NoriteSC-BugFixes 2024-02-06 11:10:30 +01:00