+ item.mDepthIndex = 0;
+ if(!isLayer3d)
+ {
+ item.mDepthIndex = node->GetDepthIndex();
+ }
+
+ if(DALI_LIKELY(renderable.mRenderer))
+ {
+ item.mRenderer = &renderable.mRenderer->GetRenderer();
+ item.mTextureSet = renderable.mRenderer->GetTextureSet();
+ item.mDepthIndex += renderable.mRenderer->GetDepthIndex();
+ }
+ else
+ {
+ item.mRenderer = nullptr;
+ }
+
+ item.mIsUpdated |= isLayer3d;
+
+ if(!nodeUpdateSizeSet)
+ {
+ SetNodeUpdateSize(node, isLayer3d, nodeWorldMatrix, nodeSize, nodeUpdateSize);
+ }
+
+ item.mSize = nodeSize;
+ item.mUpdateSize = nodeUpdateSize;
+ item.mModelMatrix = nodeWorldMatrix;
+
+ if(!nodeModelViewMatrixSet)
+ {
+ Matrix::Multiply(nodeModelViewMatrix, nodeWorldMatrix, viewMatrix);
+ }
+ item.mModelViewMatrix = nodeModelViewMatrix;
+
+ partialRenderingCacheInfo.matrix = item.mModelViewMatrix;
+ partialRenderingCacheInfo.size = item.mSize;
+ partialRenderingCacheInfo.updatedSize = item.mUpdateSize;
+
+ item.mIsUpdated = partialRenderingData.IsUpdated() || item.mIsUpdated;
+
+ partialRenderingData.mRendered = true;
+
+ partialRenderingData.SwapBuffers();
+ }
+ else
+ {
+ // Mark as not rendered
+ auto& partialRenderingData = node->GetPartialRenderingData();
+ partialRenderingData.mRendered = false;