5#include <vulkan/vulkan.h>
18 std::string mVertexShaderPath;
30 void Create(
const PipelineState& state, VkPipelineCache cache, VkSpecializationInfo* specInfo =
nullptr);
32 VkPipeline GetVkPipeline()
const;
34 void Bind(VkCommandBuffer commandBuffer);
36 VkDescriptorSetLayout GetDescriptorSetLayout(uint32_t index);
37 VkPipelineLayout GetPipelineLayout();
39 bool IsComputePipeline()
const;
43 void CreateGraphicsPipeline(VkPipelineCache cache, VkSpecializationInfo* specInfo);
44 void CreateComputePipeline(VkPipelineCache cache, VkSpecializationInfo* specInfo);
46 void CreateDescriptorSetLayouts();
47 void CreatePipelineLayout();
51 VkPipeline mPipeline = VK_NULL_HANDLE;
52 VkPipelineLayout mPipelineLayout = VK_NULL_HANDLE;
53 std::vector<VkDescriptorSetLayout> mDescriptorSetLayouts;
56 bool mComputePipeline =
false;
VertexType
Definition Vertex.h:7
Definition VulkanTypes.h:30