mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 12:06:07 +08:00
First version of the SOurce SDK 2013
This commit is contained in:
29
game/client/viewdebug.h
Normal file
29
game/client/viewdebug.h
Normal file
@ -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
|
Reference in New Issue
Block a user