When lost device(Ctrl + Alt + Del), away3d will recreate the scene, it’s useful! But sometimes(after running some other fullscreen game/applacation), the scene recreated by away3d is render in software-mode.
Now I want to change the render mode to GPU mode, how to?
PS: I will change mode after other game closed, so the GPU is idle.
How to switch render mode by code?Software: Away3D 4.x |
||
clarkh, Newbie
Posted: 09 September 2013 10:55 AM Total Posts: 2 |
||
SharpEdge, Member
Posted: 09 September 2013 11:30 AM Total Posts: 94 [ # 1 ] From: Adobe AS3 Documentation
It’s not possible to change renderMode at runtime. |
||
clarkh, Newbie
Posted: 09 September 2013 12:43 PM Total Posts: 2 [ # 2 ]
I trace(stage3DProxy.usesSoftwareRendering) onEnterFrame, it’s “false” at first. Keep AIR application open, and I opened another windows fullscreen game, and exit game, the AIR application trace(stage3DProxy.usesSoftwareRendering) output “true”, so sometimes the render mode changed at runtime, I want know is away3d change it or fp change it |
||
|