19 #ifndef INCLUDED_CSPAINT_SHADER_H
20 #define INCLUDED_CSPAINT_SHADER_H
22 #include <cspaint_fwd.h>
24 #include <vulkan/vulkan.hpp>
35 using handle = std::shared_ptr<shader>;
37 shader(std::shared_ptr<const CsPaint::device>
device, std::vector<char> shader_code);
38 shader(std::shared_ptr<const CsPaint::device>
device, std::vector<uint32_t> shader_code);
52 std::shared_ptr<const CsPaint::device > m_device;
53 vk::UniqueShaderModule m_shader;
const vk::ShaderModule & shaderModule()
Definition: cspaint_shader.h:47
void operator=(const shader &) = delete
~shader()
Definition: cspaint_shader.h:40
Definition: cspaint_device.h:35
shader(std::shared_ptr< const CsPaint::device > device, std::vector< char > shader_code)
std::shared_ptr< shader > handle
Definition: cspaint_shader.h:35
Definition: cspaint_shader.h:28
Definition: cspaint_buffer.h:26