summaryrefslogtreecommitdiff
path: root/engine/materialproxyfactory.h
blob: 7a385dade30920c36d00554c0ec49cabaa7bf3a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//========= 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