diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-11-24 16:19:06 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-11-24 16:19:06 +0000 |
| commit | e12d5ea9b35feb985c2756789d2e739dd4d9d781 (patch) | |
| tree | ed17ffaa2f1d12264c4f679a10cef6a93817ec42 /RenderScript/src/ScriptParser.cpp | |
| parent | Fixing linux/mac build - another attempt (diff) | |
| download | DiligentTools-e12d5ea9b35feb985c2756789d2e739dd4d9d781.tar.gz DiligentTools-e12d5ea9b35feb985c2756789d2e739dd4d9d781.zip | |
Added GetShaderResourceBindingByName() function
Added InitStaticResources parameter to CreateShaderResourceBinding lua function
Diffstat (limited to 'RenderScript/src/ScriptParser.cpp')
| -rw-r--r-- | RenderScript/src/ScriptParser.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/RenderScript/src/ScriptParser.cpp b/RenderScript/src/ScriptParser.cpp index a31f308..5cb13b5 100644 --- a/RenderScript/src/ScriptParser.cpp +++ b/RenderScript/src/ScriptParser.cpp @@ -244,6 +244,11 @@ namespace Diligent m_pShaderVariableParser->GetObjectByName( m_LuaState, ShaderVarName, ppShaderVar ); } + void ScriptParser::GetShaderResourceBindingByName( const Char *SRBName, IShaderResourceBinding** ppSRB ) + { + m_pShaderResBindingParser->GetObjectByName( m_LuaState, SRBName, ppSRB ); + } + void ScriptParser::QueryInterface( const Diligent::INTERFACE_ID &IID, IObject **ppInterface ) { UNSUPPORTED( "Not implemented" ); |
