You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
672 B
30 lines
672 B
5 years ago
|
//========= 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
|