How to access PreparingDeviceSettingEventArgs.Grap

2019-09-11 14:38发布

I would like to change the GraphicsProfile to Reach. As told to me in another answer the solution would be to use:

graphics.PreparingDeviceSettings += (s, e) =>
{
    e.GraphicsDeviceInformation.GraphicsProfile = GraphicsProfile.Reach;
};

But my e.GraphicsDeviceInformation does not contain the GraphicsProfileproperty.

I don't understand how two implementations of the same class are present in MonoGame.Microsoft.Xna.Framework and MonoGame.Microsoft.Xna.Framework.Graphics.
The one in ...Framework is the one used by PreparingDeviceSettingEventArgs but the other one contains the property I need: GraphicsProfile.

(I feel like I am missing something very stupid here...)

1条回答
Anthone
2楼-- · 2019-09-11 15:12

It is currently not supported. Simply create an XNA project for PCs.

But I then wonder how I could do if I want to support an Android build (MonoGame) which would not fit with the High profile.

查看更多
登录 后发表回答