mirror of
https://github.com/redstrate/Novus.git
synced 2025-05-14 20:47:46 +00:00
27 lines
463 B
C
27 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;
|
||
|
};
|