开发者

Silverlight 5 - 3D - RenderModeReason - TemporarilyUnavailable

开发者 https://www.devze.com 2023-03-09 22:40 出处:网络
I\'m trying to create a simple Silverlight 3d application... I have a good enough PC, but when I run the Silverlight application I get this:

I'm trying to create a simple Silverlight 3d application...

I have a good enough PC, but when I run the Silverlight application I get this:

RenderModeReason - TemporarilyUnavailable... WTF is that? o_O

PS: The sample 3D appli开发者_如何学Ccations where made by MS and are compiling and working.


In order to be able to use 3D acceleration in your app (and all the XNA namespaces), you must enable HardwareAcceleration during plugin initialization. Fortunately, it's easy:

<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
      [...]
      <param name="enableGPUAcceleration" value="true" />
      [...]
</object>

To enable GPU acceleration for Out of browser apps, set the enable GPU acceleration option on the project property page.

0

精彩评论

暂无评论...
验证码 换一张
取 消