summaryrefslogtreecommitdiff
path: root/engine/materialproxyfactory.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /engine/materialproxyfactory.h
downloadarchived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.tar.xz
archived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.zip
Diffstat (limited to 'engine/materialproxyfactory.h')
-rw-r--r--engine/materialproxyfactory.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/engine/materialproxyfactory.h b/engine/materialproxyfactory.h
new file mode 100644
index 0000000..7a385da
--- /dev/null
+++ b/engine/materialproxyfactory.h
@@ -0,0 +1,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