Silverlight 5 - 3D - RenderModeReason - TemporarilyUnavailable
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.
精彩评论