56 VkShaderModule
vkShader()
const {
return m_shader; }
59 VkShaderModule m_shader;
83 static inline const String formats[6] = {
"points_s",
"points",
"linework",
"solid",
"solid_grid",
"solid_texture" };
#define DEFINE_NON_DISPATCHABLE_HANDLE(object)
Definition VulkanInstance.h:49
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition GraphicsPipeline.h:42
Definition Dictionary.h:48
void setInstance(const ConstPointer< VulkanDevice > &device)
Definition Shader.cpp:76
~VulkanShader()
Definition Shader.cpp:61
void createShader(const File &file)
Definition Shader.cpp:33
VulkanShader(VulkanShader &&device) noexcept
Definition Shader.cpp:10
void cleanup()
Definition Shader.cpp:66
VkShaderModule vkShader() const
Definition Shader.h:56
void setInstance(const ConstPointer< VulkanDevice > &device)
Definition Shader.cpp:146
Dictionary< uint08, Buffer< char >[ShaderType::e_shader_type_size]> m_data
Definition Shader.h:86
ConstPointer< VulkanShader > getShader(const String &file, ShaderType type)
Definition Shader.cpp:105
ShaderType
Definition Shader.h:67
@ e_simple_points
Definition Shader.h:68
@ e_solid
Definition Shader.h:71
@ e_solid_grid
Definition Shader.h:72
@ e_linework
Definition Shader.h:70
@ e_solid_texture
Definition Shader.h:73
@ e_points
Definition Shader.h:69
@ e_all
Definition Shader.h:75
@ e_shader_type_size
Definition Shader.h:74
void ensureCreated(const String &name)
Definition Shader.cpp:88
ConstPointer< VulkanDevice > m_device
Definition Shader.h:87
VulkanShaderManager(const ConstPointer< VulkanDevice > &device)
Definition Shader.cpp:84
void addShader(const String &name, ShaderType type, File &file)
Definition Shader.cpp:118
Dictionary< uint08, DynamicPointer< VulkanShader >[ShaderType::e_shader_type_size]> m_shader_map
Definition Shader.h:85
static const String formats[6]
Definition Shader.h:83
PrimitiveMode
Definition DesignObjectBase.h:113