Add multi-threaded scene rendering with Job System
This commit is contained in:
@@ -84,12 +84,3 @@ void SkinnedMeshDrawData::OnDataChanged(bool dropHistory)
|
||||
_isDirty = true;
|
||||
_hasValidData = true;
|
||||
}
|
||||
|
||||
void SkinnedMeshDrawData::Flush(GPUContext* context)
|
||||
{
|
||||
if (_isDirty)
|
||||
{
|
||||
_isDirty = false;
|
||||
context->UpdateBuffer(BoneMatrices, Data.Get(), Data.Count());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user