Hi all,
This is a question about Away-Starling.
In the interoperation tutorial and some others, they initialize the starling layer using the same instance of stage3DProxy.viewPort:
starlingLayer = new Starling(StarlingMain, stage, stage3DProxy.viewPort, stage3DProxy.stage3D);
See: http://away3d.com/tutorials/Away3D_and_Starling_Interoperation
And also: https://github.com/away3d/integration-examples-fp11/blob/master/src/Away3D_Starling_Layering_Demo.as
However, in other tutorials that involves resizing, they use a clone of the viewPort:
starlingLayer = new Starling(StarlingMain, stage, stage3DProxy.viewPort.clone(), stage3DProxy.stage3D);
What’s the difference in terms of performance or issues? Is there a recommended method?