2023-10-03 17:23:56 +03:00
|
|
|
|
//========== Copyright <20> 2005, Valve Corporation, All rights reserved. ========
|
2020-04-22 12:56:21 -04:00
|
|
|
|
//
|
|
|
|
|
// Purpose:
|
|
|
|
|
//
|
|
|
|
|
//=============================================================================
|
|
|
|
|
|
|
|
|
|
#ifndef VIEWDEBUG_H
|
|
|
|
|
#define VIEWDEBUG_H
|
|
|
|
|
|
|
|
|
|
#if defined( _WIN32 )
|
|
|
|
|
#pragma once
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
class CViewSetup;
|
|
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
// Purpose: Implements the debugging elements of view rendering
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
class CDebugViewRender
|
|
|
|
|
{
|
|
|
|
|
DECLARE_CLASS_NOBASE( CDebugViewRender );
|
|
|
|
|
public:
|
|
|
|
|
// Draws all the debugging info
|
|
|
|
|
static void Draw3DDebuggingInfo( const CViewSetup &view );
|
|
|
|
|
static void Draw2DDebuggingInfo( const CViewSetup &view );
|
|
|
|
|
static void GenerateOverdrawForTesting();
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // VIEWDEBUG_H
|