Adding basic memory resource
This commit is contained in:
@@ -36,7 +36,7 @@ void InspectorView::prepareRender() {}
|
||||
|
||||
void InspectorView::render() { renderGraph.render(Component::Camera()); }
|
||||
|
||||
void InspectorView::applyArea(URect area) {}
|
||||
void InspectorView::applyArea(URect ) {}
|
||||
|
||||
void InspectorView::keyCallback(KeyCode, InputAction, KeyModifier) {}
|
||||
|
||||
|
||||
@@ -49,6 +49,7 @@ void PlayView::keyCallback(KeyCode code, InputAction action, KeyModifier modifie
|
||||
if (code == KeyCode::KEY_R && action == InputAction::RELEASE) {
|
||||
getGlobals().useRayTracing = !getGlobals().useRayTracing;
|
||||
}
|
||||
//if (code == KeyCode::KEY_B && action == InputAction::RELEASE && modifier & KeyModifier::MOD_CONTROL) {
|
||||
//}
|
||||
if (code == KeyCode::KEY_H && action == InputAction::RELEASE) {
|
||||
MemoryManager::printAllocations();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user