Kohi Game Engine
|
Internal shader configuration generated by vulkan_shader_create(). More...
#include <vulkan_types.h>
Data Fields | |
u8 | stage_count |
The number of shader stages in this shader. More... | |
vulkan_shader_stage_config | stages [VULKAN_SHADER_MAX_STAGES] |
The configuration for every stage of this shader. More... | |
VkDescriptorPoolSize | pool_sizes [2] |
An array of descriptor pool sizes. More... | |
u16 | max_descriptor_set_count |
The max number of descriptor sets that can be allocated from this shader. Should typically be a decently high number. More... | |
u8 | descriptor_set_count |
The total number of descriptor sets configured for this shader. Is 1 if only using global uniforms/samplers; otherwise 2. More... | |
vulkan_descriptor_set_config | descriptor_sets [2] |
Descriptor sets, max of 2. Index 0=global, 1=instance. More... | |
VkVertexInputAttributeDescription | attributes [VULKAN_SHADER_MAX_ATTRIBUTES] |
An array of attribute descriptions for this shader. More... | |
face_cull_mode | cull_mode |
Face culling mode, provided by the front end. More... | |
Internal shader configuration generated by vulkan_shader_create().
VkVertexInputAttributeDescription attributes[VULKAN_SHADER_MAX_ATTRIBUTES] |
An array of attribute descriptions for this shader.
face_cull_mode cull_mode |
Face culling mode, provided by the front end.
u8 descriptor_set_count |
The total number of descriptor sets configured for this shader. Is 1 if only using global uniforms/samplers; otherwise 2.
vulkan_descriptor_set_config descriptor_sets[2] |
Descriptor sets, max of 2. Index 0=global, 1=instance.
u16 max_descriptor_set_count |
The max number of descriptor sets that can be allocated from this shader. Should typically be a decently high number.
VkDescriptorPoolSize pool_sizes[2] |
An array of descriptor pool sizes.
u8 stage_count |
The number of shader stages in this shader.
The configuration for every stage of this shader.