clear is here, draw is not

This commit is contained in:
2025-12-23 19:08:38 +02:00
parent 3b4e2eea32
commit fb5e607f88
8 changed files with 93 additions and 38 deletions

View File

@@ -85,7 +85,13 @@ void CVkRenderCommandList::SetMaterial( IMaterial *pMaterial )
m_pCurrentMaterialBuffer->AddCommand(pSetShader);
CVkSetScissorsCommand *pScissorsCommand = CREATE_COMMAND(SetScissors);
pScissorsCommand->uWidth = 1280;
pScissorsCommand->uHeight = 720;
m_pCurrentMaterialBuffer->AddCommand(pScissorsCommand);
CVkSetViewportCommand *pViewportCommand = CREATE_COMMAND(SetViewport);
pViewportCommand->fWidth = 1280;
pViewportCommand->fHeight = 720;
m_pCurrentMaterialBuffer->AddCommand(pViewportCommand);
}
}