Draw List works now

This commit is contained in:
Dynamitos
2024-06-07 18:43:10 +02:00
parent bc0d05dbb0
commit 2644b127fa
5 changed files with 38 additions and 33 deletions
+6
View File
@@ -20,6 +20,8 @@ using namespace Seele;
bool usePositionOnly = false;
bool useViewCulling = false;
bool useLightCulling = false;
bool resetVisibility = false;
GameView::GameView(Gfx::PGraphics graphics, PWindow window, const ViewportCreateInfo &createInfo, std::string dllPath)
: View(graphics, window, createInfo, "Game")
@@ -122,6 +124,10 @@ void GameView::keyCallback(KeyCode code, InputAction action, KeyModifier modifie
useLightCulling = !useLightCulling;
std::cout << "Use Light Culling " << useLightCulling << std::endl;
}
if (code == KeyCode::KEY_R && action == InputAction::RELEASE)
{
resetVisibility = true;
}
}
void GameView::mouseMoveCallback(double xPos, double yPos)