Deprecate profiler categories based on global enum
(to be supplanted by registered budgets in the future) Signed-off-by: Jeremy Ong <jcong@amazon.com>
This commit is contained in:
@@ -209,7 +209,7 @@ namespace WhiteBox
|
||||
bool EditorWhiteBoxComponentMode::HandleMouseInteraction(
|
||||
const AzToolsFramework::ViewportInteraction::MouseInteractionEvent& mouseInteraction)
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::AzToolsFramework);
|
||||
AZ_PROFILE_FUNCTION(AzToolsFramework);
|
||||
|
||||
WhiteBoxMesh* whiteBox = nullptr;
|
||||
EditorWhiteBoxComponentRequestBus::EventResult(
|
||||
@@ -301,7 +301,7 @@ namespace WhiteBox
|
||||
void EditorWhiteBoxComponentMode::DisplayEntityViewport(
|
||||
[[maybe_unused]] const AzFramework::ViewportInfo& viewportInfo, AzFramework::DebugDisplayRequests& debugDisplay)
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::AzToolsFramework);
|
||||
AZ_PROFILE_FUNCTION(AzToolsFramework);
|
||||
|
||||
const auto modifiers = m_keyboardMofifierQueryFn();
|
||||
|
||||
@@ -374,7 +374,7 @@ namespace WhiteBox
|
||||
|
||||
void EditorWhiteBoxComponentMode::RecalculateWhiteBoxIntersectionData(const EdgeSelectionType edgeSelectionMode)
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::AzToolsFramework);
|
||||
AZ_PROFILE_FUNCTION(AzToolsFramework);
|
||||
|
||||
WhiteBoxMesh* whiteBox = nullptr;
|
||||
EditorWhiteBoxComponentRequestBus::EventResult(
|
||||
|
||||
Reference in New Issue
Block a user