From 8acffab86d2bb95ebf349b64675e86fcd2f9f044 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Wed, 24 Aug 2016 20:20:56 -0700 Subject: Merged updates from dev branch --- Graphics/GraphicsEngine/interface/Shader.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Graphics/GraphicsEngine') 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; }; -- cgit v1.2.3