summaryrefslogtreecommitdiffstats
path: root/RenderScript/include/ShaderParser.h
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2016-08-20 06:38:41 +0000
committerEgor Yusov <egor.yusov@gmail.com>2016-08-20 06:38:41 +0000
commit8077ddaf62bdbff2169973eca565a5752501587d (patch)
tree0532180e74cf5215736fd4e053216e291326fbcb /RenderScript/include/ShaderParser.h
parentOne more update to android build configuration (diff)
downloadDiligentTools-8077ddaf62bdbff2169973eca565a5752501587d.tar.gz
DiligentTools-8077ddaf62bdbff2169973eca565a5752501587d.zip
Updated to Diligent Engine 2.0
Diffstat (limited to 'RenderScript/include/ShaderParser.h')
-rw-r--r--RenderScript/include/ShaderParser.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/RenderScript/include/ShaderParser.h b/RenderScript/include/ShaderParser.h
index 2967dd5..fdfb3da 100644
--- a/RenderScript/include/ShaderParser.h
+++ b/RenderScript/include/ShaderParser.h
@@ -1,4 +1,4 @@
-/* Copyright 2015 Egor Yusov
+/* Copyright 2015-2016 Egor Yusov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,9 +48,14 @@ namespace Diligent
struct ShaderCreationAttribsWrapper : ShaderCreationAttribs
{
String NameBuffer;
+ String SourceBuffer;
String FilePathBuffer;
String EntryPointBuffer;
String SearchDirectoriesBuffer;
+ std::vector<ShaderVariableDesc> m_VarDescBuffer;
+ std::vector<String> m_VarNamesBuffer;
+ std::vector<StaticSamplerDesc> m_StaticSamplersBuffer;
+ std::vector<String> m_StaticSamplerTexNamesBuffer;
};
protected:
@@ -59,9 +64,6 @@ namespace Diligent
private:
- int SetShaders( lua_State *L );
- ClassMethodCaller < ShaderParser > m_SetShadersBinding;
-
ClassMethodCaller< ShaderParser > m_BindResourcesBinding;
int BindResources( lua_State *L );