Kohi Game Engine
vulkan_pipeline.h
Go to the documentation of this file.
1 
14 #pragma once
15 
16 #include "vulkan_types.h"
17 
27 
35 
43 void vulkan_pipeline_bind(vulkan_command_buffer* command_buffer, VkPipelineBindPoint bind_point, vulkan_pipeline* pipeline);
_Bool b8
8-bit boolean type
Definition: defines.h:58
Represents a Vulkan-specific command buffer, which holds a list of commands and is submitted to a que...
Definition: vulkan_types.h:261
The overall Vulkan context for the backend. Holds and maintains global renderer backend state,...
Definition: vulkan_types.h:564
A configuration structure for Vulkan pipelines.
Definition: vulkan_types.h:291
Holds a Vulkan pipeline and its layout.
Definition: vulkan_types.h:331
void vulkan_pipeline_destroy(vulkan_context *context, vulkan_pipeline *pipeline)
Destroys the given pipeline.
void vulkan_pipeline_bind(vulkan_command_buffer *command_buffer, VkPipelineBindPoint bind_point, vulkan_pipeline *pipeline)
Binds the given pipeline for use. This must be done within a renderpass.
b8 vulkan_graphics_pipeline_create(vulkan_context *context, const vulkan_pipeline_config *config, vulkan_pipeline *out_pipeline)
Creates a new Vulkan pipeline.
This file contains a collection fo Vulkan-specific types used for the Vulkan backend.