How does it work?
In order to make your application work in constrained mode you just should set the second parameter ofstage3D.requestContext3D()
when requesting the context, in the following way: stage3D.requestContext3D(Context3DRenderMode.AUTO, Context3DProfile.BASELINE_CONSTRAINED);
Context3DProfile
class appears with API of the 11.4 version of FlashPlayer so you need to update your playerglobal.swc (or use hardcoded string constant – "baselineConstrained"
); If you wish to enable constrained mode only if normal hardware rendering is unavailable, you can request the context as usual then check which mode is set and, if after you receive it, the software rendering mode is set, you should request the context again, this time in constrained mode. What do you get with Alternativa3D in Constrained mode?
[...]Read more: Constrained mode support
No comments:
Post a Comment