Add initial support for skeletal entities / components
This commit is contained in:
26
include/Nazara/Graphics/SkeletonInstance.inl
Normal file
26
include/Nazara/Graphics/SkeletonInstance.inl
Normal 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>
|
||||
Reference in New Issue
Block a user