Ndk/GraphicsComponent: Add Attach method
It will evolve, don't worry. Former-commit-id: 6529d47e076ef102d54fde0a741df72eb80f5ca7
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
#ifndef NDK_COMPONENTS_GRAPHICSCOMPONENT_HPP
|
||||
#define NDK_COMPONENTS_GRAPHICSCOMPONENT_HPP
|
||||
|
||||
#include <NDK/Component.hpp>
|
||||
#include <Nazara/Graphics/Renderable.hpp>
|
||||
#include <NDK/Component.hpp>
|
||||
|
||||
namespace Ndk
|
||||
{
|
||||
@@ -18,7 +18,9 @@ namespace Ndk
|
||||
GraphicsComponent() = default;
|
||||
~GraphicsComponent() = default;
|
||||
|
||||
void AddToRenderQueue(NzAbstractRenderQueue* renderQueue, const NzMatrix4f& transformMatrix) const;
|
||||
inline void AddToRenderQueue(NzAbstractRenderQueue* renderQueue, const NzMatrix4f& transformMatrix) const;
|
||||
|
||||
inline void Attach(NzRenderableRef renderable);
|
||||
|
||||
static ComponentIndex componentIndex;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user