Refactor scene rendering to use batched culling for main view and shadow projections
This commit is contained in:
@@ -1218,6 +1218,13 @@ void Actor::Draw(RenderContext& renderContext)
|
||||
{
|
||||
}
|
||||
|
||||
void Actor::Draw(RenderContextBatch& renderContextBatch)
|
||||
{
|
||||
// Default impl calls single-context
|
||||
for (RenderContext& renderContext : renderContextBatch.Contexts)
|
||||
Draw(renderContext);
|
||||
}
|
||||
|
||||
#if USE_EDITOR
|
||||
|
||||
void Actor::OnDebugDraw()
|
||||
|
||||
Reference in New Issue
Block a user