[fix] 디버그 타이머 정리 및 SSAO/시스템 UI 개선

디버그 타이머 측정 코드를 정리하여 대부분의 타이머가 항상 동작하도록 변경하였고, SSAO 반경 최소값을 15.f로 낮췄습니다. SSAO 블러 렌더링 함수와 관련 멤버 변수를 추가했으며, ImGui 기반 시스템 정보 및 타임 멀티플라이어 UI를 도입했습니다. 디버그 전용 타이머 등록 구조를 완화하여 디버그/릴리즈 모드 간 타이머 동작 차이를 줄였습니다.
This commit is contained in:
kimnuri
2026-06-20 13:41:10 +09:00
parent 1c5764a4ce
commit 2f4a475699
12 changed files with 7 additions and 49 deletions
@@ -170,15 +170,11 @@ void CGameInstance::Update_Engine(_float fTimeDelta)
HRESULT CGameInstance::Draw()
{
#ifdef _DEBUG
Compute_TimeDelta(TEXT("Timer_DrawCall"));
#endif // _DEBUG
m_pRenderer->Render();
m_pLevel_Manager->Render();
#ifdef _DEBUG
Compute_TimeDelta(TEXT("Timer_DrawCall"));
#endif // _DEBUG
return S_OK;
}
@@ -321,13 +317,9 @@ void CGameInstance::Render_Begin(const _float4* pClearColor)
void CGameInstance::Render_End()
{
#ifdef _DEBUG
Compute_TimeDelta(TEXT("Timer_Present"));
#endif // _DEBUG
m_pGraphic_Device->Present();
#ifdef _DEBUG
Compute_TimeDelta(TEXT("Timer_Present"));
#endif // _DEBUG
}
HRESULT CGameInstance::Bind_DepthStencil(CShader* pShader, const _char* pContantName)
@@ -360,7 +352,6 @@ void CGameInstance::Compute_TimeDelta(const _wstring& strTimerTag)
void CGameInstance::Compute_FrameCount()
{
#ifdef _DEBUG
m_fTimer_PriorityUpdate = Get_TimeDelta(TEXT("Timer_PriorityUpdate"));
m_fTimer_Update = Get_TimeDelta(TEXT("Timer_Update"));
m_fTimer_LateUpdate = Get_TimeDelta(TEXT("Timer_LateUpdate"));
@@ -391,13 +382,11 @@ void CGameInstance::Compute_FrameCount()
m_fTimer_Render_Tone_Mapping = Get_TimeDelta(TEXT("Timer_Render_Tone_Mapping"));
m_fTimer_Render_UI = Get_TimeDelta(TEXT("Timer_Render_UI"));
m_fTimer_Render_UI_Overley = Get_TimeDelta(TEXT("Timer_Render_UI_Overley"));
#endif // _DEBUG
}
void CGameInstance::Present_TimeCost()
{
#pragma region TimeCost
#ifdef _DEBUG
_float fTotal = m_fTimer_PriorityUpdate
+ m_fTimer_Update
+ m_fTimer_LateUpdate
@@ -649,7 +638,6 @@ void CGameInstance::Present_TimeCost()
GUI::Text("%f\t%f", GUI::GetIO().Framerate, GUI::GetIO().DeltaTime);
}
GUI::End();
#endif // _DEBUG
#pragma endregion
}