mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 14:16:50 +00:00
30 lines
672 B
C++
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
|