コード例 #1
0
 public virtual AsQuadBatch compile(AsDisplayObject _object)
 {
     if (mCache != null)
     {
         return(mCache);
     }
     else
     {
         AsRenderSupport renderSupport = null;
         AsStage         stage         = _object.getStage();
         if (stage == null)
         {
             throw new AsError("Filtered object must be on the stage.");
         }
         renderSupport = new AsRenderSupport();
         _object.getTransformationMatrix(stage, renderSupport.getModelViewMatrix());
         return(renderPasses(_object, renderSupport, 1.0f, true));
     }
 }