aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/client/viewdebug.h
blob: fe827f907db36c1b282ddb0407839d0bb9a62464 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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