mirror of
https://github.com/redstrate/Novus.git
synced 2025-05-14 12:37:46 +00:00
This will be used in the map editor to draw where objects are. It doesn't draw anything yet, and can't until we get LGB support in libphysis.
26 lines
463 B
C++
26 lines
463 B
C++
#pragma once
|
|
|
|
#include "pass.h"
|
|
|
|
#include <glm/glm.hpp>
|
|
#include <vulkan/vulkan.h>
|
|
|
|
class RenderManager;
|
|
class Device;
|
|
|
|
class ObjectPass : public RendererPass
|
|
{
|
|
public:
|
|
ObjectPass(RenderManager *renderer);
|
|
|
|
void render(VkCommandBuffer commandBuffer, Camera &camera) override;
|
|
|
|
private:
|
|
void createPipeline();
|
|
|
|
VkPipeline pipeline_ = nullptr;
|
|
VkPipelineLayout pipelineLayout_ = nullptr;
|
|
|
|
RenderManager *m_renderer;
|
|
Device &m_device;
|
|
};
|