3#include "../Interface/Shader.hpp"
5#include <vulkan/vulkan.h>
6#include <ShaderProcessor/ShaderSource.hpp>
46 VkShaderModule shaderModule;
47 VkShaderStageFlagBits shaderStage;
49 ShaderSource::ReflectionInfo reflectionInfo;
Compiles and handles a shader. Shaders should be linked together into a ShaderProgram.
Definition: Shader.hpp:8
Type
The type of shader.
Definition: Shader.hpp:11
Vulkan implementation of Shader.
Definition: VulkanShader.hpp:11
VkShaderStageFlagBits GetShaderStage() const
Get the shader stage.
Definition: VulkanShader.cpp:47
VulkanShader(VkDevice device, const ShaderSource &shaderSource, Type type)
Create new Vulkan shader.
Definition: VulkanShader.cpp:8
VkShaderModule GetShaderModule() const
Get the Vulkan shader module.
Definition: VulkanShader.cpp:43
const ShaderSource::ReflectionInfo & GetReflectionInfo() const
Get reflection info.
Definition: VulkanShader.cpp:51
~VulkanShader() final
Destructor.
Definition: VulkanShader.cpp:39
Definition: Editor.hpp:18