You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
801 B
30 lines
801 B
5 years ago
|
//========= 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
|