summaryrefslogtreecommitdiff
path: root/public/ishadercompiledll.h
diff options
context:
space:
mode:
Diffstat (limited to 'public/ishadercompiledll.h')
-rw-r--r--public/ishadercompiledll.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/public/ishadercompiledll.h b/public/ishadercompiledll.h
new file mode 100644
index 0000000..03a1d1c
--- /dev/null
+++ b/public/ishadercompiledll.h
@@ -0,0 +1,26 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================//
+
+#ifndef ISHADERCOMPILEDLL_H
+#define ISHADERCOMPILEDLL_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+
+#include "interface.h"
+
+#define SHADER_COMPILE_INTERFACE_VERSION "shadercompiledll_0"
+
+// This is the DLL interface to ShaderCompile
+abstract_class IShaderCompileDLL
+{
+public:
+ // All vrad.exe does is load the VRAD DLL and run this.
+ virtual int main( int argc, char **argv ) = 0;
+};
+
+#endif // ISHADERCOMPILEDLL_H