Kohi Game Engine
|
A configuration structure for Vulkan pipelines. More...
#include <vulkan_types.h>
Data Fields | |
char * | name |
The name of the pipeline. Used primarily for debugging purposes. More... | |
vulkan_renderpass * | renderpass |
A pointer to the renderpass to associate with the pipeline. More... | |
u32 | stride |
The stride of the vertex data to be used (ex: sizeof(vertex_3d)) More... | |
u32 | attribute_count |
The number of attributes. More... | |
VkVertexInputAttributeDescription * | attributes |
An array of attributes. More... | |
u32 | descriptor_set_layout_count |
The number of descriptor set layouts. More... | |
VkDescriptorSetLayout * | descriptor_set_layouts |
An array of descriptor set layouts. More... | |
u32 | stage_count |
The number of stages (vertex, fragment, etc). More... | |
VkPipelineShaderStageCreateInfo * | stages |
An VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BITarray of stages. More... | |
VkViewport | viewport |
The initial viewport configuration. More... | |
VkRect2D | scissor |
The initial scissor configuration. More... | |
face_cull_mode | cull_mode |
The face cull mode. More... | |
u32 | shader_flags |
The shader flags used for creating the pipeline. More... | |
u32 | push_constant_range_count |
The number of push constant data ranges. More... | |
range * | push_constant_ranges |
An array of push constant data ranges. More... | |
u32 | topology_types |
Collection of topology types to be supported on this pipeline. More... | |
renderer_winding | winding |
The vertex winding order used to determine the front face of triangles. More... | |
A configuration structure for Vulkan pipelines.
u32 attribute_count |
The number of attributes.
VkVertexInputAttributeDescription* attributes |
An array of attributes.
face_cull_mode cull_mode |
The face cull mode.
u32 descriptor_set_layout_count |
The number of descriptor set layouts.
VkDescriptorSetLayout* descriptor_set_layouts |
An array of descriptor set layouts.
char* name |
The name of the pipeline. Used primarily for debugging purposes.
u32 push_constant_range_count |
The number of push constant data ranges.
range* push_constant_ranges |
An array of push constant data ranges.
A pointer to the renderpass to associate with the pipeline.
VkRect2D scissor |
The initial scissor configuration.
The shader flags used for creating the pipeline.
u32 stage_count |
The number of stages (vertex, fragment, etc).
VkPipelineShaderStageCreateInfo* stages |
An VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BITarray of stages.
u32 stride |
The stride of the vertex data to be used (ex: sizeof(vertex_3d))
u32 topology_types |
Collection of topology types to be supported on this pipeline.
VkViewport viewport |
The initial viewport configuration.
renderer_winding winding |
The vertex winding order used to determine the front face of triangles.