Address feedback of PR for ATOM-6088.
* Rename DrawItemKeyPair to DrawItemProperties. * Switch back to use Ptr<DrawListTagRegistry> instead of DrawListTagRegistry * Updated some comment.
This commit is contained in:
@@ -195,11 +195,11 @@ namespace AZ
|
||||
SetSrgsForDraw(commandList);
|
||||
}
|
||||
|
||||
for (const RHI::DrawItemKeyPair& drawItemKeyPair : drawListViewPartition)
|
||||
for (const RHI::DrawItemProperties& drawItemProperties : drawListViewPartition)
|
||||
{
|
||||
if (drawItemKeyPair.m_drawFilterMask & m_pipeline->GetDrawFilterMask())
|
||||
if (drawItemProperties.m_drawFilterMask & m_pipeline->GetDrawFilterMask())
|
||||
{
|
||||
commandList->Submit(*drawItemKeyPair.m_item);
|
||||
commandList->Submit(*drawItemProperties.m_item);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user