From 571bdc72bec626bbc3cb5f61fb689fb23de2ef67 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Fri, 1 Mar 2019 19:00:26 -0800 Subject: Updated renderscript to work with the new API --- RenderScript/include/ScriptParser.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'RenderScript/include/ScriptParser.h') 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 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 @@ -113,8 +113,8 @@ namespace Diligent void PushFuncStub( lua_State *L, const RefCntAutoPtr &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 &pShaderVar ); + void PushFuncStub( lua_State *L, const IShaderResourceVariable* pShaderVar ); + void PushFuncStub( lua_State *L, const RefCntAutoPtr &pShaderVar ); void PushFuncStub( lua_State *L, const IShaderResourceBinding* pShaderVar ); void PushFuncStub( lua_State *L, const RefCntAutoPtr &pShaderVar ); -- cgit v1.2.3