source-engine/game/client/proxyentity.h

33 lines
869 B
C
Raw Normal View History

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: A base class for all material proxies in the client dll
//
// $NoKeywords: $
//=============================================================================//
#ifndef PROXY_ENTITY_H
#define PROXY_ENTITY_H
2023-10-03 17:23:56 +03:00
#include "materialsystem/IMaterialProxy.h"
2020-04-22 12:56:21 -04:00
class IMaterialVar;
//-----------------------------------------------------------------------------
// Base class all material proxies should inherit from
//-----------------------------------------------------------------------------
abstract_class CEntityMaterialProxy : public IMaterialProxy
{
public:
virtual void Release( void );
2023-10-03 17:23:56 +03:00
void OnBind( void *pC_BaseEntity );
2020-04-22 12:56:21 -04:00
protected:
// base classes should implement these
virtual void OnBind( C_BaseEntity *pBaseEntity ) = 0;
};
2022-03-01 23:00:42 +03:00
2020-04-22 12:56:21 -04:00
#endif // PROXY_ENTITY_H