33 lines
824 B
C++
33 lines
824 B
C++
// Copyright (C) 2023 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
|
|
// This file is part of the "Nazara Engine - OpenGL renderer"
|
|
// For conditions of distribution and use, see copyright notice in Config.hpp
|
|
|
|
#include <Nazara/OpenGLRenderer/Debug.hpp>
|
|
|
|
namespace Nz
|
|
{
|
|
inline OpenGLShaderBinding::OpenGLShaderBinding(OpenGLRenderPipelineLayout& owner, std::size_t poolIndex, std::size_t bindingIndex) :
|
|
m_owner(owner),
|
|
m_bindingIndex(bindingIndex),
|
|
m_poolIndex(poolIndex)
|
|
{
|
|
}
|
|
|
|
inline std::size_t OpenGLShaderBinding::GetBindingIndex() const
|
|
{
|
|
return m_bindingIndex;
|
|
}
|
|
|
|
inline std::size_t OpenGLShaderBinding::GetPoolIndex() const
|
|
{
|
|
return m_poolIndex;
|
|
}
|
|
|
|
inline const OpenGLRenderPipelineLayout& OpenGLShaderBinding::GetOwner() const
|
|
{
|
|
return m_owner;
|
|
}
|
|
}
|
|
|
|
#include <Nazara/OpenGLRenderer/DebugOff.hpp>
|