diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2016-08-20 06:38:41 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2016-08-20 06:38:41 +0000 |
| commit | 8077ddaf62bdbff2169973eca565a5752501587d (patch) | |
| tree | 0532180e74cf5215736fd4e053216e291326fbcb /RenderScript/include/DeviceContextFuncBindings.h | |
| parent | One more update to android build configuration (diff) | |
| download | DiligentTools-8077ddaf62bdbff2169973eca565a5752501587d.tar.gz DiligentTools-8077ddaf62bdbff2169973eca565a5752501587d.zip | |
Updated to Diligent Engine 2.0
Diffstat (limited to 'RenderScript/include/DeviceContextFuncBindings.h')
| -rw-r--r-- | RenderScript/include/DeviceContextFuncBindings.h | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/RenderScript/include/DeviceContextFuncBindings.h b/RenderScript/include/DeviceContextFuncBindings.h index bb2f880..a03c3f0 100644 --- a/RenderScript/include/DeviceContextFuncBindings.h +++ b/RenderScript/include/DeviceContextFuncBindings.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. @@ -27,12 +27,17 @@ #include "LuaBindings.h" #include "ClassMethodBinding.h" +namespace std +{ + DEFINE_ENUM_HASH( Diligent::COMMIT_SHADER_RESOURCES_FLAG ) +} + namespace Diligent { class DeviceContextFuncBindings { public: - DeviceContextFuncBindings( IRenderDevice *pRenderDevice, lua_State *L, class TextureViewParser *pTexViewPasrser ); + DeviceContextFuncBindings( IRenderDevice *pRenderDevice, lua_State *L, class TextureViewParser *pTexViewPasrser, class ShaderResourceBindingParser *pSRBParser, class PSODescParser *pPSOParser ); private: int SetRenderTargets( lua_State * ); @@ -44,6 +49,22 @@ namespace Diligent int ClearDepthStencil( lua_State * ); ClassMethodCaller<DeviceContextFuncBindings> m_ClearDepthStencilBinding; + int SetStencilRef( lua_State * ); + ClassMethodCaller<DeviceContextFuncBindings> m_SetStencilRefBinding; + + int SetBlendFactors( lua_State * ); + ClassMethodCaller<DeviceContextFuncBindings> m_SetBlendFactorsBinding; + + int CommitShaderResources( lua_State * ); + ClassMethodCaller<DeviceContextFuncBindings> m_CommitShaderResourcesBinding; + + int TransitionShaderResources( lua_State * ); + ClassMethodCaller<DeviceContextFuncBindings> m_TransitionShaderResourcesBinding; + + EnumMapping<COMMIT_SHADER_RESOURCES_FLAG> m_CommitShaderResFlagsEnumMapping; + String m_TexViewMetatableName; + String m_ShaderResBindingMetatableName; + String m_PSOMetatableName; }; } |
