|
@@ -333,11 +333,13 @@ class Scene extends Object implements h3d.IDrawable implements hxd.SceneEvents.I
|
|
renderer.start();
|
|
renderer.start();
|
|
|
|
|
|
#if sceneprof h3d.impl.SceneProf.begin("sync", ctx.frame); #end
|
|
#if sceneprof h3d.impl.SceneProf.begin("sync", ctx.frame); #end
|
|
|
|
+ @:privateAccess renderer.mark("sync");
|
|
syncRec(ctx);
|
|
syncRec(ctx);
|
|
#if sceneprof
|
|
#if sceneprof
|
|
h3d.impl.SceneProf.end();
|
|
h3d.impl.SceneProf.end();
|
|
h3d.impl.SceneProf.begin("emit", ctx.frame);
|
|
h3d.impl.SceneProf.begin("emit", ctx.frame);
|
|
#end
|
|
#end
|
|
|
|
+ @:privateAccess renderer.mark("emit");
|
|
emitRec(ctx);
|
|
emitRec(ctx);
|
|
#if sceneprof h3d.impl.SceneProf.end(); #end
|
|
#if sceneprof h3d.impl.SceneProf.end(); #end
|
|
|
|
|