Copy link to clipboard
Copied
Hello,
is there a convenient way of checking if a certain Context3DProfile is available? Specifically, I want to instantiate Away3D with BASELINE_EXTENDED, if that is not available I would like to fall back to BASELINE. Starling offers a nice way of handling that by allowing an Array of profiles to be passed and it will automatically select the first one that is available. It seems there is no such option in Away3D 4.1.6 and furthermore all my attempts in catching the error that is thrown by Away3D have failed. So is there any way of testing this in pure AS3?
(On this occasion I would like to add that a Context3DProfile.UNAVAILABLE would be nice to test the behavior on a machine that supports all profiles. I have no way of simulating an unavailable profile on my development machine)