Kohi Game Engine
vulkan_pipeline_config Struct Reference

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_renderpassrenderpass
 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...
 
rangepush_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...
 

Detailed Description

A configuration structure for Vulkan pipelines.

Field Documentation

◆ attribute_count

u32 attribute_count

The number of attributes.

◆ attributes

VkVertexInputAttributeDescription* attributes

An array of attributes.

◆ cull_mode

face_cull_mode cull_mode

The face cull mode.

◆ descriptor_set_layout_count

u32 descriptor_set_layout_count

The number of descriptor set layouts.

◆ descriptor_set_layouts

VkDescriptorSetLayout* descriptor_set_layouts

An array of descriptor set layouts.

◆ name

char* name

The name of the pipeline. Used primarily for debugging purposes.

◆ push_constant_range_count

u32 push_constant_range_count

The number of push constant data ranges.

◆ push_constant_ranges

range* push_constant_ranges

An array of push constant data ranges.

◆ renderpass

A pointer to the renderpass to associate with the pipeline.

◆ scissor

VkRect2D scissor

The initial scissor configuration.

◆ shader_flags

The shader flags used for creating the pipeline.

◆ stage_count

u32 stage_count

The number of stages (vertex, fragment, etc).

◆ stages

VkPipelineShaderStageCreateInfo* stages

An VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BITarray of stages.

◆ stride

u32 stride

The stride of the vertex data to be used (ex: sizeof(vertex_3d))

◆ topology_types

u32 topology_types

Collection of topology types to be supported on this pipeline.

◆ viewport

VkViewport viewport

The initial viewport configuration.

◆ winding

The vertex winding order used to determine the front face of triangles.


The documentation for this struct was generated from the following file: