53            void bind(
const VkCommandBuffer commandBuffer)
 const { vkCmdBindPipeline(commandBuffer, VK_PIPELINE_BIND_POINT_GRAPHICS, 
m_graphicsPipeline); }
 
   57            static std::vector<char> 
readFile(
const std::string &filename);
 
   59            void createShaderModule(
const std::vector<char>& code, VkShaderModule* shaderModule) 
const;
 
 
This file contains the Device class.
 
Shaders & operator=(Shaders &&)=delete
 
VkPipeline m_graphicsPipeline
 
void createGraphicsPipeline(const std::string &vertFilepath, const std::string &fragFilepath, const PipelineConfigInfo &configInfo)
 
Shaders(Device &device, const std::string &vertFilepath, const std::string &fragFilepath, const PipelineConfigInfo &configInfo)
 
static std::vector< char > readFile(const std::string &filename)
 
void createShaderModule(const std::vector< char > &code, VkShaderModule *shaderModule) const
 
static void defaultPipelineConfigInfo(PipelineConfigInfo &configInfo)
 
Shaders(const Shaders &)=delete
 
Shaders & operator=(const Shaders &)=delete
 
void bind(const VkCommandBuffer commandBuffer) const
 
VkShaderModule m_vertShaderModule
 
Shaders(Shaders &&)=delete
 
VkShaderModule m_fragShaderModule
 
static constexpr std::string_view SHADERS_BIN_PATH
 
std::vector< VkDynamicState > dynamicStateEnables
 
PipelineConfigInfo(const PipelineConfigInfo &)=delete
 
std::vector< VkVertexInputBindingDescription > bindingDescriptions
 
VkPipelineDepthStencilStateCreateInfo depthStencilInfo
 
VkPipelineRasterizationStateCreateInfo rasterizationInfo
 
std::vector< VkVertexInputAttributeDescription > attributeDescriptions
 
VkPipelineColorBlendAttachmentState colorBlendAttachment
 
VkPipelineInputAssemblyStateCreateInfo inputAssemblyInfo
 
VkPipelineMultisampleStateCreateInfo multisampleInfo
 
VkPipelineColorBlendStateCreateInfo colorBlendInfo
 
PipelineConfigInfo()=default
 
PipelineConfigInfo & operator=(const PipelineConfigInfo &)=delete
 
VkPipelineDynamicStateCreateInfo dynamicStateInfo
 
VkPipelineLayout pipelineLayout