Fix linking errors when referencing static members in engine classes

This commit is contained in:
2023-05-29 19:16:47 +03:00
parent 6a482c987c
commit 9e07e80fa1
3 changed files with 3 additions and 3 deletions

View File

@@ -360,7 +360,7 @@ API_ENUM() enum class CullMode : byte
/// <summary> /// <summary>
/// Render target blending mode descriptor. /// Render target blending mode descriptor.
/// </summary> /// </summary>
API_STRUCT() struct BlendingMode API_STRUCT() struct FLAXENGINE_API BlendingMode
{ {
DECLARE_SCRIPTING_TYPE_MINIMAL(BlendingMode); DECLARE_SCRIPTING_TYPE_MINIMAL(BlendingMode);

View File

@@ -20,7 +20,7 @@ public:
/// <summary> /// <summary>
/// Pipeline state description /// Pipeline state description
/// </summary> /// </summary>
API_STRUCT() struct Description API_STRUCT() struct FLAXENGINE_API Description
{ {
DECLARE_SCRIPTING_TYPE_NO_SPAWN(Description); DECLARE_SCRIPTING_TYPE_NO_SPAWN(Description);

View File

@@ -12,7 +12,7 @@
/// <summary> /// <summary>
/// Profiler tools for development. Allows to gather profiling data and events from the engine. /// Profiler tools for development. Allows to gather profiling data and events from the engine.
/// </summary> /// </summary>
API_CLASS(Static) class ProfilingTools API_CLASS(Static) class FLAXENGINE_API ProfilingTools
{ {
DECLARE_SCRIPTING_TYPE_NO_SPAWN(ProfilingTools); DECLARE_SCRIPTING_TYPE_NO_SPAWN(ProfilingTools);
public: public: