2023-10-03 17:23:56 +03:00
|
|
|
|
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
|
2020-04-22 12:56:21 -04:00
|
|
|
|
//
|
|
|
|
|
// Purpose:
|
|
|
|
|
//
|
|
|
|
|
// $NoKeywords: $
|
|
|
|
|
//=============================================================================//
|
|
|
|
|
|
2023-10-03 17:23:56 +03:00
|
|
|
|
#ifndef ASW_VIEW_SCENE_H
|
|
|
|
|
#define ASW_VIEW_SCENE_H
|
2020-04-22 12:56:21 -04:00
|
|
|
|
#ifdef _WIN32
|
|
|
|
|
#pragma once
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include "viewrender.h"
|
|
|
|
|
|
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
// Purpose: Implements the interview to view rendering for the client .dll
|
|
|
|
|
//-----------------------------------------------------------------------------
|
2023-10-03 17:23:56 +03:00
|
|
|
|
class CASWViewRender : public CViewRender
|
2020-04-22 12:56:21 -04:00
|
|
|
|
{
|
|
|
|
|
public:
|
2023-10-03 17:23:56 +03:00
|
|
|
|
CASWViewRender();
|
2020-04-22 12:56:21 -04:00
|
|
|
|
|
2023-10-03 17:23:56 +03:00
|
|
|
|
virtual void OnRenderStart();
|
2020-04-22 12:56:21 -04:00
|
|
|
|
virtual void Render2DEffectsPreHUD( const CViewSetup &view );
|
|
|
|
|
|
2023-10-03 17:23:56 +03:00
|
|
|
|
virtual bool AllowScreenspaceFade( void ) { return false; }
|
2020-04-22 12:56:21 -04:00
|
|
|
|
|
2023-10-03 17:23:56 +03:00
|
|
|
|
private:
|
|
|
|
|
void DoMotionBlur( const CViewSetup &view );
|
2020-04-22 12:56:21 -04:00
|
|
|
|
void PerformNightVisionEffect( const CViewSetup &view );
|
|
|
|
|
};
|
|
|
|
|
|
2023-10-03 17:23:56 +03:00
|
|
|
|
#endif //ASW_VIEW_SCENE_H
|