diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /sp/src/public/game/client/iclientrendertargets.h | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'sp/src/public/game/client/iclientrendertargets.h')
| -rw-r--r-- | sp/src/public/game/client/iclientrendertargets.h | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/sp/src/public/game/client/iclientrendertargets.h b/sp/src/public/game/client/iclientrendertargets.h index 7b640eee..60a14474 100644 --- a/sp/src/public/game/client/iclientrendertargets.h +++ b/sp/src/public/game/client/iclientrendertargets.h @@ -1,41 +1,41 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose: Exposes interfaces to the engine which allow the client to setup their own render targets
-// during the proper period of material system's init.
-//
-// $NoKeywords: $
-//=============================================================================//
-
-#ifndef ICLIENTRENDERTARGETS_H
-#define ICLIENTRENDERTARGETS_H
-#ifdef _WIN32
- #pragma once
-#endif
-
-#include "interface.h" // For base interface
-
-class IMaterialSystem;
-class IMaterialSystemHardwareConfig;
-
-//---------------------------------------------------------------------------------------------------
-// Purpose: Exposes interfaces to the engine which allow the client to setup their own render targets
-// during the proper period of material system's init.
-//---------------------------------------------------------------------------------------------------
-abstract_class IClientRenderTargets
-{
-public:
- // Pass the material system interface to the client-- Their Material System singleton has not been created
- // at the time they receive this call.
- virtual void InitClientRenderTargets( IMaterialSystem* pMaterialSystem, IMaterialSystemHardwareConfig* pHardwareConfig ) = 0;
-
- // Call shutdown on every created refrence-- Clients keep track of this themselves
- // and should add shutdown code to this function whenever they add a new render target.
- virtual void ShutdownClientRenderTargets( void ) = 0;
-
-};
-
-#define CLIENTRENDERTARGETS_INTERFACE_VERSION "ClientRenderTargets001"
-
-extern IClientRenderTargets * g_pClientRenderTargets;
-
-#endif // ICLIENTRENDERTARGETS_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: Exposes interfaces to the engine which allow the client to setup their own render targets +// during the proper period of material system's init. +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef ICLIENTRENDERTARGETS_H +#define ICLIENTRENDERTARGETS_H +#ifdef _WIN32 + #pragma once +#endif + +#include "interface.h" // For base interface + +class IMaterialSystem; +class IMaterialSystemHardwareConfig; + +//--------------------------------------------------------------------------------------------------- +// Purpose: Exposes interfaces to the engine which allow the client to setup their own render targets +// during the proper period of material system's init. +//--------------------------------------------------------------------------------------------------- +abstract_class IClientRenderTargets +{ +public: + // Pass the material system interface to the client-- Their Material System singleton has not been created + // at the time they receive this call. + virtual void InitClientRenderTargets( IMaterialSystem* pMaterialSystem, IMaterialSystemHardwareConfig* pHardwareConfig ) = 0; + + // Call shutdown on every created refrence-- Clients keep track of this themselves + // and should add shutdown code to this function whenever they add a new render target. + virtual void ShutdownClientRenderTargets( void ) = 0; + +}; + +#define CLIENTRENDERTARGETS_INTERFACE_VERSION "ClientRenderTargets001" + +extern IClientRenderTargets * g_pClientRenderTargets; + +#endif // ICLIENTRENDERTARGETS_H |