Refactor PD::Li Pools system, Upgrade PD::Pool and add better logging
- Add ResetFast to Pool using c++20 concept - Add Put function to Pool - Use Pool Index instead of pointers in Command - Add accessor to Li Pools to prevent wrong command usage - Add Command Formatter - Use ResetFast for all Pools - Add Reset func to Li::Vertex (for ResetFast) - Add Pool Expandor and Put funcs to Lithium pools - Add getters for GfxDriverBase to PD::Li Pools
This commit is contained in:
@@ -145,7 +145,7 @@ class App {
|
||||
pList.DrawRectFilled(0, 50, 0xff00ffff);
|
||||
pList.BindTexture(pTex);
|
||||
pList.DrawRectFilled(50, pTex.GetSize(), 0xffffffff);
|
||||
pList.DrawCircleFilled(500, 100, 0xffffffff, 50);
|
||||
pList.DrawCircleFilled(PD::fvec2(700, 500), 100, 0xffffffff, 50);
|
||||
// pList.PathRect(300, 700, 40.f);
|
||||
// pList.PathFill(0xffffffff);
|
||||
std::cout << "GfxDriver: " << PD::Gfx::GetDriverName() << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user