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:
@@ -679,7 +679,7 @@ bool CComponentEntityObject::HitHelperTest(HitContext& hc)
|
||||
|
||||
bool CComponentEntityObject::HitTest(HitContext& hc)
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::Entity);
|
||||
AZ_PROFILE_FUNCTION(Entity);
|
||||
|
||||
if (m_iconOnlyHitTest)
|
||||
{
|
||||
@@ -705,7 +705,7 @@ bool CComponentEntityObject::HitTest(HitContext& hc)
|
||||
[&hc, &closestDistance, &rayIntersection, &preciseSelectionRequired, viewportId](
|
||||
AzToolsFramework::EditorComponentSelectionRequests* handler) -> bool
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::Entity);
|
||||
AZ_PROFILE_FUNCTION(Entity);
|
||||
|
||||
if (handler->SupportsEditorRayIntersect())
|
||||
{
|
||||
@@ -768,7 +768,7 @@ bool CComponentEntityObject::HitTest(HitContext& hc)
|
||||
|
||||
void CComponentEntityObject::GetBoundBox(AABB& box)
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AZ::Debug::ProfileCategory::Entity);
|
||||
AZ_PROFILE_FUNCTION(Entity);
|
||||
|
||||
box.Reset();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user