You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
byte[] bytecode = File.ReadAllBytes("mycompiled.mgfx"); var effect = new Effect(bytecode);
It's is not working has the Effect class has no such constructor. The closest available constructor is Effect(GraphicsDevice graphicsDevice, byte[] effectCode).
The text was updated successfully, but these errors were encountered:
At the end of page https://docs.monogame.net/articles/getting_started/tools/mgfxc.html there is the following code sample:
byte[] bytecode = File.ReadAllBytes("mycompiled.mgfx"); var effect = new Effect(bytecode);
It's is not working has the Effect class has no such constructor. The closest available constructor is
Effect(GraphicsDevice graphicsDevice, byte[] effectCode)
.The text was updated successfully, but these errors were encountered: