1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-05-15 04:57:45 +00:00
novus/apps/mapeditor/include/objectpass.h

32 lines
639 B
C
Raw Normal View History

2025-05-13 22:18:47 -04:00
// SPDX-FileCopyrightText: 2025 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include "pass.h"
#include <glm/glm.hpp>
#include <vulkan/vulkan.h>
class RenderManager;
class Device;
class AppState;
class ObjectPass : public RendererPass
{
public:
ObjectPass(RenderManager *renderer, AppState *appState);
void render(VkCommandBuffer commandBuffer, Camera &camera) override;
private:
void createPipeline();
VkPipeline m_pipeline = nullptr;
VkPipelineLayout m_pipelineLayout = nullptr;
RenderManager *m_renderer;
Device &m_device;
AppState *m_appState;
};