NarcEngine 0.1.1
C++ Vulkan game engine
 
Loading...
Searching...
No Matches
ShaderModule.h
1//
2// Created by theoh on 3/14/2025.
3//
4
5#pragma once
6
7#include <vulkan/vulkan.h>
8
9#include "core/DeviceComponent.h"
10
11namespace narc_engine {
12 class DeviceHandler;
13
14 class ShaderModule : public DeviceComponent
15 {
16 public:
17 explicit ShaderModule(const std::string& filename);
18 ~ShaderModule();
19
20 VkPipelineShaderStageCreateInfo configureShaderStage(const char* entryPoint, VkShaderStageFlagBits stage) const;
21
22 private:
23 VkShaderModule m_shaderModule;
24 };
25} // narc_engine
Definition DeviceHandler.h:11