Kohi Game Engine
vulkan_shader_descriptor_set_state Struct Reference

Represents the state for a descriptor set. This is used to track generations and updates, potentially for optimization via skipping sets which do not need updating. More...

#include <vulkan_types.h>

Data Fields

VkDescriptorSet descriptor_sets [3]
 The descriptor sets for this instance, one per frame. More...
 
vulkan_descriptor_state descriptor_states [VULKAN_SHADER_MAX_BINDINGS]
 A descriptor state per descriptor, which in turn handles frames. Count is managed in shader config. More...
 

Detailed Description

Represents the state for a descriptor set. This is used to track generations and updates, potentially for optimization via skipping sets which do not need updating.

Field Documentation

◆ descriptor_sets

VkDescriptorSet descriptor_sets[3]

The descriptor sets for this instance, one per frame.

◆ descriptor_states

A descriptor state per descriptor, which in turn handles frames. Count is managed in shader config.


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