Add initial support for skeletal entities / components

This commit is contained in:
SirLynix
2022-08-27 03:07:48 +02:00
parent 01f3f350fe
commit 50ed8b4028
55 changed files with 919 additions and 131 deletions

View File

@@ -0,0 +1,26 @@
// 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/SkeletonInstance.hpp>
#include <Nazara/Graphics/Debug.hpp>
namespace Nz
{
inline std::shared_ptr<RenderBuffer>& SkeletonInstance::GetSkeletalBuffer()
{
return m_skeletalDataBuffer;
}
inline const std::shared_ptr<RenderBuffer>& SkeletonInstance::GetSkeletalBuffer() const
{
return m_skeletalDataBuffer;
}
inline const std::shared_ptr<const Skeleton>& SkeletonInstance::GetSkeleton() const
{
return m_skeleton;
}
}
#include <Nazara/Graphics/DebugOff.hpp>