source-engine/engine/materialproxyfactory.h
FluorescentCIAAfricanAmerican 3bf9df6b27 1
2020-04-22 12:56:21 -04:00

30 lines
672 B
C++

//========= 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