Kohi Game Engine
vulkan_vertex_layout_pipeline Struct Reference

#include <vulkan_types.h>

Data Fields

u8 stage_count
 The number of stages in this vertex layout (vertex, fragment, etc). More...
 
vulkan_shader_stagestages
 
VkPipelineShaderStageCreateInfo * stage_create_infos
 
const char ** stage_sources
 
u32 attribute_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...
 
vulkan_pipelinepipelines
 An array of pipelines associated with this vertex layout (one per topology class). More...
 
vulkan_pipelinewireframe_pipelines
 An array of wireframe pipelines associated with this vertex layout (one per topology class). More...
 
u8 bound_pipeline_index
 The currently bound pipeline index. More...
 
u8 default_pipeline_index
 

Field Documentation

◆ attribute_count

u32 attribute_count

The number of attributes.

◆ attribute_stride

u32 attribute_stride

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

◆ attributes

VkVertexInputAttributeDescription* attributes

An array of attributes.

◆ bound_pipeline_index

u8 bound_pipeline_index

The currently bound pipeline index.

◆ default_pipeline_index

u8 default_pipeline_index

◆ pipelines

vulkan_pipeline* pipelines

An array of pipelines associated with this vertex layout (one per topology class).

◆ stage_count

u8 stage_count

The number of stages in this vertex layout (vertex, fragment, etc).

◆ stage_create_infos

VkPipelineShaderStageCreateInfo* stage_create_infos

◆ stage_sources

const char** stage_sources

◆ stages

◆ wireframe_pipelines

vulkan_pipeline* wireframe_pipelines

An array of wireframe pipelines associated with this vertex layout (one per topology class).


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