summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2016-08-25 03:20:56 +0000
committerEgor Yusov <egor.yusov@gmail.com>2016-08-25 03:20:56 +0000
commit8acffab86d2bb95ebf349b64675e86fcd2f9f044 (patch)
treecd3fcd69e8b6f298a44e101afd056d5663275424 /Graphics/GraphicsEngine
parentUpdated to Diligent Engine 2.0 (diff)
downloadDiligentCore-8acffab86d2bb95ebf349b64675e86fcd2f9f044.tar.gz
DiligentCore-8acffab86d2bb95ebf349b64675e86fcd2f9f044.zip
Merged updates from dev branch
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/Shader.h9
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;
};