Graphics: Add DebugDrawer support
This commit is contained in:
@@ -40,6 +40,9 @@ namespace Nz
|
||||
|
||||
template<typename T = RenderWindow, typename... Args> T& CreateWindow(Args&&... args);
|
||||
|
||||
inline FramePipeline& GetFramePipeline();
|
||||
inline const FramePipeline& GetFramePipeline() const;
|
||||
|
||||
void Update(float elapsedTime);
|
||||
|
||||
RenderSystem& operator=(const RenderSystem&) = delete;
|
||||
|
||||
@@ -20,6 +20,16 @@ namespace Nz
|
||||
|
||||
return windowRef;
|
||||
}
|
||||
|
||||
inline FramePipeline& RenderSystem::GetFramePipeline()
|
||||
{
|
||||
return *m_pipeline;
|
||||
}
|
||||
|
||||
inline const FramePipeline& RenderSystem::GetFramePipeline() const
|
||||
{
|
||||
return *m_pipeline;
|
||||
}
|
||||
}
|
||||
|
||||
#include <Nazara/Graphics/DebugOff.hpp>
|
||||
|
||||
Reference in New Issue
Block a user