21 VkPipeline
build_pipeline(VkDevice device,
const VkAllocationCallbacks* callbacks);
23 void set_shaders(VkShaderModule vertexShader, VkShaderModule fragmentShader);
45 bool load_shader_module(
const char* filePath, VkDevice device,
const VkAllocationCallbacks* callbacks, VkShaderModule* outShaderModule);
VkPipelineRasterizationStateCreateInfo _rasterizer
Definition vk_pipelines.h:9
PipelineBuilder()
Definition vk_pipelines.h:17
void set_polygon_mode(VkPolygonMode mode)
void enable_depthtest(bool depthWriteEnable, VkCompareOp op)
VkPipelineRenderingCreateInfo _renderInfo
Definition vk_pipelines.h:14
void set_multisampling_none()
VkPipelineLayout _pipelineLayout
Definition vk_pipelines.h:12
void set_input_topology(VkPrimitiveTopology topology)
void set_shaders(VkShaderModule vertexShader, VkShaderModule fragmentShader)
void enable_blending_premultipliedalphablend()
std::vector< VkPipelineShaderStageCreateInfo > _shaderStages
Definition vk_pipelines.h:6
void enable_blending_alphablend()
void set_depth_format(VkFormat format)
void set_cull_mode(VkCullModeFlags cullMode, VkFrontFace frontFace)
VkFormat _colorAttachmentformat
Definition vk_pipelines.h:15
void set_multisampling_some()
VkPipelineDepthStencilStateCreateInfo _depthStencil
Definition vk_pipelines.h:13
VkPipelineInputAssemblyStateCreateInfo _inputAssembly
Definition vk_pipelines.h:8
VkPipelineColorBlendAttachmentState _colorBlendAttachment
Definition vk_pipelines.h:10
void set_color_attachment_format(VkFormat format)
void enable_blending_additive()
VkPipelineMultisampleStateCreateInfo _multisampling
Definition vk_pipelines.h:11
VkPipeline build_pipeline(VkDevice device, const VkAllocationCallbacks *callbacks)
bool load_shader_module(const char *filePath, VkDevice device, const VkAllocationCallbacks *callbacks, VkShaderModule *outShaderModule)
Definition vk_defaults.h:4