diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2016-08-25 03:20:56 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2016-08-25 03:20:56 +0000 |
| commit | 8acffab86d2bb95ebf349b64675e86fcd2f9f044 (patch) | |
| tree | cd3fcd69e8b6f298a44e101afd056d5663275424 /Graphics/GraphicsEngine | |
| parent | Updated to Diligent Engine 2.0 (diff) | |
| download | DiligentCore-8acffab86d2bb95ebf349b64675e86fcd2f9f044.tar.gz DiligentCore-8acffab86d2bb95ebf349b64675e86fcd2f9f044.zip | |
Merged updates from dev branch
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/Shader.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngine/interface/Shader.h b/Graphics/GraphicsEngine/interface/Shader.h index 15d81342..47641ce6 100644 --- a/Graphics/GraphicsEngine/interface/Shader.h +++ b/Graphics/GraphicsEngine/interface/Shader.h @@ -246,6 +246,15 @@ public: /// be assigned to a constant buffer variable. virtual void Set(IDeviceObject *pObject) = 0; + /// Sets the variable array + + /// \param [in] ppObjects - pointer to the array of objects + /// \param [in] FirstElement - first array element to set + /// \param [in] NumElements - number of objects in ppObjects array + /// + /// \remark The method performs run-time correctness checks. + /// For instance, shader resource view cannot + /// be assigned to a constant buffer variable. virtual void SetArray(IDeviceObject* const* ppObjects, Uint32 FirstElement, Uint32 NumElements) = 0; }; |
