* @param[in] currentLayer The current layer containing lists of opaque/transparent renderables.
* @param[in] renderTask The current render-task.
* @param[in] inheritedDrawMode The draw mode of the parent
+ * @param[in] parentDepthIndex The inherited parent node depth index
* @param[in] currentClippingId The current Clipping Id
* Note: ClippingId is passed by reference, so it is permanently modified when traversing back up the tree for uniqueness.
* @param[in] clippingDepth The current clipping depth
RenderTaskList& renderTasks,
Layer& rootNode,
SortedLayerPointers& sortedLayers,
- GeometryBatcher& geometryBatcher,
RenderInstructionContainer& instructions )
{
RenderTaskList::RenderTaskContainer& taskContainer = renderTasks.GetTasks();
RenderTask& renderTask = **iter;
// Off screen only.
- if( ( ( 0 == renderTask.GetFrameBufferId() ) && ( renderTask.GetFrameBuffer() == 0 ) ) ||
- ( !renderTask.ReadyToRender( updateBufferIndex ) ) )
+ if( ( renderTask.GetFrameBuffer() == 0 ) || ( !renderTask.ReadyToRender( updateBufferIndex ) ) )
{
// Skip to next task.
continue;
sortedLayers,
renderTask,
renderTask.GetCullMode(),
- geometryBatcher,
hasClippingNodes,
instructions );
}
RenderTask& renderTask = **iter;
// On screen only.
- if( ( 0 != renderTask.GetFrameBufferId() ) ||
- ( renderTask.GetFrameBuffer() != 0 ) ||
- ( !renderTask.ReadyToRender( updateBufferIndex ) ) )
+ if( ( renderTask.GetFrameBuffer() != 0 ) || ( !renderTask.ReadyToRender( updateBufferIndex ) ) )
{
// Skip to next task.
continue;
sortedLayers,
renderTask,
renderTask.GetCullMode(),
- geometryBatcher,
hasClippingNodes,
instructions );
}