Files
NazaraEngine/include/Nazara/Graphics/RenderElement.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

26 lines
600 B
C++

// Copyright (C) 2024 Jérôme "SirLynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Graphics module"
// For conditions of distribution and use, see copyright notice in Export.hpp
#include <Nazara/Core/Error.hpp>
#include <NazaraUtils/Algorithm.hpp>
namespace Nz
{
inline RenderElement::RenderElement(BasicRenderElement elementType) :
RenderElement(SafeCast<UInt8>(elementType))
{
}
inline RenderElement::RenderElement(UInt8 elementType) :
m_elementType(elementType)
{
}
inline UInt8 RenderElement::GetElementType() const
{
return m_elementType;
}
}