summaryrefslogtreecommitdiff
path: root/game/client/viewdebug.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/client/viewdebug.h')
-rw-r--r--game/client/viewdebug.h29
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