23#include <vulkan/vulkan.hpp>
52 std::vector<char>
readFile(
const std::string& filename)
const;
vk::UniqueShaderModule shader
std::vector< char > readFile(const std::string &filename) const
vk::PipelineShaderStageCreateInfo getShaderPipelineInfo() const
vk::ShaderStageFlagBits getShaderStage() const
void freeResources(bool remove=true) override
void createShaderModule(const std::vector< char > &code)
void init(const std::string &filename, ShaderType type, Device &device)