Kohi Game Engine
vulkan_shader_frequency_state Struct Reference

The frequency-level state for a shader (i.e. per-frame, per-group, per-draw). More...

#include <vulkan_types.h>

Data Fields

u32 id
 The frequency id. INVALID_ID if not used. More...
 
u64 offset
 The offset in bytes in the frequency uniform buffer. More...
 
VkDescriptorSet descriptor_sets [VULKAN_RESOURCE_IMAGE_COUNT]
 The descriptor sets for this frequency, one per colour image. More...
 
vulkan_descriptor_state ubo_descriptor_state
 
vulkan_uniform_sampler_statesampler_states
 
vulkan_uniform_texture_statetexture_states
 

Detailed Description

The frequency-level state for a shader (i.e. per-frame, per-group, per-draw).

Field Documentation

◆ descriptor_sets

VkDescriptorSet descriptor_sets[VULKAN_RESOURCE_IMAGE_COUNT]

The descriptor sets for this frequency, one per colour image.

◆ id

u32 id

The frequency id. INVALID_ID if not used.

◆ offset

u64 offset

The offset in bytes in the frequency uniform buffer.

◆ sampler_states

◆ texture_states

◆ ubo_descriptor_state

vulkan_descriptor_state ubo_descriptor_state

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