source-engine/game/client/proxyentity.h

33 lines
864 B
C
Raw Permalink Normal View History

2020-04-22 16:56:21 +00:00
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: A base class for all material proxies in the client dll
//
// $NoKeywords: $
//=============================================================================//
#ifndef PROXY_ENTITY_H
#define PROXY_ENTITY_H
#include "materialsystem/imaterialproxy.h"
class IMaterialVar;
//-----------------------------------------------------------------------------
// Base class all material proxies should inherit from
//-----------------------------------------------------------------------------
abstract_class CEntityMaterialProxy : public IMaterialProxy
{
public:
virtual void Release( void );
virtual void OnBind( void *pC_BaseEntity );
protected:
// base classes should implement these
virtual void OnBind( C_BaseEntity *pBaseEntity ) = 0;
};
2022-03-01 20:00:42 +00:00
2020-04-22 16:56:21 +00:00
#endif // PROXY_ENTITY_H