Files
NazaraEngine/include/Nazara/VulkanRenderer/VulkanShaderBinding.inl
SirLynix 5130a2ff84 Remove Config.hpp options and refactor headers
- Rename Config.hpp to Export.hpp
- Remove Debug.hpp and DebugOff.hpp (not used anymore)
2024-02-19 15:11:34 +01:00

37 lines
927 B
C++

// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Vulkan renderer"
// For conditions of distribution and use, see copyright notice in Export.hpp
namespace Nz
{
inline VulkanShaderBinding::VulkanShaderBinding(VulkanRenderPipelineLayout& owner, std::size_t poolIndex, std::size_t bindingIndex, Vk::DescriptorSet descriptorSet) :
m_descriptorSet(std::move(descriptorSet)),
m_owner(owner),
m_bindingIndex(bindingIndex),
m_poolIndex(poolIndex)
{
}
inline std::size_t VulkanShaderBinding::GetBindingIndex() const
{
return m_bindingIndex;
}
inline std::size_t VulkanShaderBinding::GetPoolIndex() const
{
return m_poolIndex;
}
inline const Vk::DescriptorSet& VulkanShaderBinding::GetDescriptorSet() const
{
return m_descriptorSet;
}
inline const VulkanRenderPipelineLayout& VulkanShaderBinding::GetOwner() const
{
return m_owner;
}
}