Refactor material system (#382)
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
// Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
|
||||
// This file is part of the "Nazara Engine - Graphics module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Graphics/PropertyHandler/UniformValuePropertyHandler.hpp>
|
||||
#include <Nazara/Graphics/Debug.hpp>
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
inline UniformValuePropertyHandler::UniformValuePropertyHandler(std::string propertyName, std::string blockTag) :
|
||||
m_blockTag(std::move(blockTag)),
|
||||
m_propertyName(std::move(propertyName)),
|
||||
m_memberTag(m_propertyName)
|
||||
{
|
||||
}
|
||||
|
||||
inline UniformValuePropertyHandler::UniformValuePropertyHandler(std::string propertyName, std::string memberTag, std::string blockTag) :
|
||||
m_blockTag(std::move(blockTag)),
|
||||
m_propertyName(std::move(propertyName)),
|
||||
m_memberTag(std::move(memberTag))
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
#include <Nazara/Graphics/DebugOff.hpp>
|
||||
Reference in New Issue
Block a user