Closed
Description
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)
.
Metadata
Metadata
Assignees
Labels
No labels