summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/include/PipelineResourceSignatureBase.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngine/include/PipelineResourceSignatureBase.hpp b/Graphics/GraphicsEngine/include/PipelineResourceSignatureBase.hpp
index 6578e0d1..0913f5d7 100644
--- a/Graphics/GraphicsEngine/include/PipelineResourceSignatureBase.hpp
+++ b/Graphics/GraphicsEngine/include/PipelineResourceSignatureBase.hpp
@@ -93,6 +93,7 @@ public:
bool IsUsingSeparateSamplers() const { return !IsUsingCombinedSamplers(); }
Uint32 GetTotalResourceCount() const { return this->m_Desc.NumResources; }
+ Uint32 GetImmutableSamplerCount() const { return this->m_Desc.NumImmutableSamplers; }
std::pair<Uint32, Uint32> GetResourceIndexRange(SHADER_RESOURCE_VARIABLE_TYPE VarType) const
{