diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/client/viewdebug.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/client/viewdebug.h')
| -rw-r--r-- | game/client/viewdebug.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/game/client/viewdebug.h b/game/client/viewdebug.h new file mode 100644 index 0000000..fe827f9 --- /dev/null +++ b/game/client/viewdebug.h @@ -0,0 +1,29 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// 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 |