diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-04-05 15:52:31 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-04-05 15:52:31 +0000 |
| commit | d6d73dd8e7f98f6591f93b7ecda08b34cce518ec (patch) | |
| tree | 59ae736203e824b6bbc9fcfa93d720e93037a5f8 /RenderScript/include/ShaderVariableParser.h | |
| parent | Added options to capture RGB vs RGBA when encoding image as png plus some for... (diff) | |
| download | DiligentTools-d6d73dd8e7f98f6591f93b7ecda08b34cce518ec.tar.gz DiligentTools-d6d73dd8e7f98f6591f93b7ecda08b34cce518ec.zip | |
Changes to comply with the updated API
Diffstat (limited to 'RenderScript/include/ShaderVariableParser.h')
| -rw-r--r-- | RenderScript/include/ShaderVariableParser.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/RenderScript/include/ShaderVariableParser.h b/RenderScript/include/ShaderVariableParser.h index 6b97e89..4287018 100644 --- a/RenderScript/include/ShaderVariableParser.h +++ b/RenderScript/include/ShaderVariableParser.h @@ -61,7 +61,10 @@ namespace Diligent int Set( lua_State *L ); ClassMethodCaller < ShaderVariableParser > m_SetBinding; - ClassMethodCaller<ShaderVariableParser> m_GetStaticShaderVariableBinding; - int GetStaticShaderVariable( lua_State *L ); + ClassMethodCaller<ShaderVariableParser> m_GetStaticVariableByNameBinding; + int GetStaticVariableByName( lua_State *L ); + + ClassMethodCaller<ShaderVariableParser> m_GetStaticVariableByIndexBinding; + int GetStaticVariableByIndex( lua_State *L ); }; } |
