Team Fortress 2 Source Code as on 22/4/2020
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.

29 lines
801 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef VIEWDEBUG_H
  7. #define VIEWDEBUG_H
  8. #if defined( _WIN32 )
  9. #pragma once
  10. #endif
  11. class CViewSetup;
  12. //-----------------------------------------------------------------------------
  13. // Purpose: Implements the debugging elements of view rendering
  14. //-----------------------------------------------------------------------------
  15. class CDebugViewRender
  16. {
  17. DECLARE_CLASS_NOBASE( CDebugViewRender );
  18. public:
  19. // Draws all the debugging info
  20. static void Draw3DDebuggingInfo( const CViewSetup &view );
  21. static void Draw2DDebuggingInfo( const CViewSetup &view );
  22. static void GenerateOverdrawForTesting();
  23. };
  24. #endif // VIEWDEBUG_H