Client LuaCsForBarotrauma
EffectLoader.cs
1 using Microsoft.Xna.Framework.Graphics;
2 namespace Barotrauma;
3 
4 static class EffectLoader
5 {
6  public static Effect Load(string path)
7  => GameMain.Instance.Content.Load<Effect>(path
8 #if LINUX || OSX
9  +"_opengl"
10 #endif
11  );
12 }