We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c60b50f commit 397902aCopy full SHA for 397902a
Ab4d.SharpEngine.Samples.Common/Advanced/FogEffect.cs
@@ -11,7 +11,10 @@
11
12
namespace Ab4d.SharpEngine.Samples.Common.Advanced;
13
14
-public class FogEffect : Effect, IEffectConstructor<FogEffect>
+public class FogEffect : Effect
15
+#if NET7_0_OR_GREATER
16
+ , IEffectConstructor<FogEffect> // interface with static method is required for native AOT compilation of EffectManager class
17
+#endif
18
{
19
private static readonly string LogArea = typeof(FogEffect).FullName!;
20
0 commit comments