source-engine/engine/materialproxyfactory.h

30 lines
672 B
C
Raw Normal View History

2020-04-22 16:56:21 +00:00
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//===========================================================================//
#ifndef MATERIALPROXYFACTORY_H
#define MATERIALPROXYFACTORY_H
#ifdef _WIN32
#pragma once
#endif
#include "materialsystem/imaterialproxyfactory.h"
#include "tier1/interface.h"
class CMaterialProxyFactory : public IMaterialProxyFactory
{
public:
IMaterialProxy *CreateProxy( const char *proxyName );
void DeleteProxy( IMaterialProxy *pProxy );
private:
IMaterialProxy *LookupProxy( const char *proxyName, CreateInterfaceFn factory );
};
#endif // MATERIALPROXYFACTORY_H