diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-03-02 03:00:26 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-03-02 03:00:26 +0000 |
| commit | 571bdc72bec626bbc3cb5f61fb689fb23de2ef67 (patch) | |
| tree | b5ea59235362baa7d08a31ad019e03864f906081 /RenderScript/include/ScriptParser.h | |
| parent | HLSL2GLSLConverterApp: use InOutLocations flag (diff) | |
| download | DiligentTools-571bdc72bec626bbc3cb5f61fb689fb23de2ef67.tar.gz DiligentTools-571bdc72bec626bbc3cb5f61fb689fb23de2ef67.zip | |
Updated renderscript to work with the new API
Diffstat (limited to 'RenderScript/include/ScriptParser.h')
| -rw-r--r-- | RenderScript/include/ScriptParser.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/RenderScript/include/ScriptParser.h b/RenderScript/include/ScriptParser.h index 41056b4..094cef0 100644 --- a/RenderScript/include/ScriptParser.h +++ b/RenderScript/include/ScriptParser.h @@ -38,10 +38,10 @@ namespace Diligent public: typedef RefCountedObject<IObject> TBase; - ScriptParser( IReferenceCounters *pRefCounters, IRenderDevice *pRenderDevice ); + ScriptParser( IReferenceCounters* pRefCounters, IRenderDevice* pRenderDevice ); ~ScriptParser(); - virtual void QueryInterface( const Diligent::INTERFACE_ID &IID, IObject **ppInterface ); + virtual void QueryInterface(const INTERFACE_ID& IID, IObject** ppInterface ); void Parse(const Char *pScript); @@ -75,7 +75,7 @@ namespace Diligent void GetTextureViewByName( const Char *TextureViewName, ITextureView** ppTextureView ); void GetBufferViewByName( const Char *BufferViewName, IBufferView** ppTextureView ); void GetPipelineStateByName( const Char *PSOName, IPipelineState** ppPSO ); - void GetShaderVariableByName( const Char *ShaderVarName, IShaderVariable** ppShaderVar ); + void GetShaderVariableByName( const Char *ShaderVarName, IShaderResourceVariable** ppShaderVar ); void GetShaderResourceBindingByName( const Char *SRBName, IShaderResourceBinding** ppSRB ); template<typename ValType> @@ -113,8 +113,8 @@ namespace Diligent void PushFuncStub( lua_State *L, const RefCntAutoPtr<IPipelineState> &pPSO ); void PushFuncStub( lua_State *L, const Viewport &Viewport ); void PushFuncStub( lua_State *L, const Rect &Rect ); - void PushFuncStub( lua_State *L, const IShaderVariable* pShaderVar ); - void PushFuncStub( lua_State *L, const RefCntAutoPtr<IShaderVariable> &pShaderVar ); + void PushFuncStub( lua_State *L, const IShaderResourceVariable* pShaderVar ); + void PushFuncStub( lua_State *L, const RefCntAutoPtr<IShaderResourceVariable> &pShaderVar ); void PushFuncStub( lua_State *L, const IShaderResourceBinding* pShaderVar ); void PushFuncStub( lua_State *L, const RefCntAutoPtr<IShaderResourceBinding> &pShaderVar ); |
