Xamarin.android 如何访问PreparingDeviceSettingEventArgs.GraphicsDeviceInformation.GraphicsProfile?
我想将Xamarin.android 如何访问PreparingDeviceSettingEventArgs.GraphicsDeviceInformation.GraphicsProfile?,xamarin.android,monogame,Xamarin.android,Monogame,我想将图形配置文件更改为Reach。如我所知,解决方案是使用: graphics.PreparingDeviceSettings += (s, e) => { e.GraphicsDeviceInformation.GraphicsProfile = GraphicsProfile.Reach; }; 但是我的e.GraphicsDeviceInformation不包含GraphicsProfile属性 我不明白同一类的两个实现是如何存在于和中的。 …Framework中的一个是
图形配置文件
更改为Reach
。如我所知,解决方案是使用:
graphics.PreparingDeviceSettings += (s, e) =>
{
e.GraphicsDeviceInformation.GraphicsProfile = GraphicsProfile.Reach;
};
但是我的e.GraphicsDeviceInformation
不包含GraphicsProfile
属性
我不明白同一类的两个实现是如何存在于和中的。…Framework
中的一个是PreparingDeviceSettingEventArgs
使用的,但另一个包含我需要的属性:GraphicsProfile
(我觉得我错过了一些非常愚蠢的东西…它目前不受支持。只需为PC创建一个XNA项目 但我想知道若我想支持一个不适合我的Android构建(MonoGame),我该怎么做