Function Kataglyphis::VulkanRendererInternals::PipelineUtils::load_shader_module

Function Kataglyphis::VulkanRendererInternals::PipelineUtils::load_shader_module#

Function Documentation#

vk::ShaderModule Kataglyphis::VulkanRendererInternals::PipelineUtils::load_shader_module(VulkanDevice *device, const std::string &shader_dir, const std::string &shader_name)#

Compile a shader from source, read the resulting SPIR-V, and create a VkShaderModule. Wraps ShaderHelper::compile_shader + File::read_char_sequence + ShaderHelper::create_shader_module.