Kohi Game Engine
vulkan_shader_frequency_info Struct Reference

Contains vulkan shader frequency specific info for UBOs. More...

#include <vulkan_types.h>

Data Fields

u64 ubo_size
 The actual size of the uniform buffer object for this frequency. More...
 
u64 ubo_stride
 The stride of the uniform buffer object for this frequency. More...
 
u64 ubo_offset
 The offset in bytes for the UBO from the beginning of the uniform buffer for this frequency. More...
 
u8 uniform_count
 The number of non-sampler and non-texture uniforms for this frequency. More...
 
u8 uniform_sampler_count
 The number of sampler uniforms for this frequency. More...
 
u32sampler_indices
 
u8 uniform_texture_count
 The number of texture uniforms for this frequency. More...
 
u32texture_indices
 
u32sorted_indices
 
u32 bound_id
 

Detailed Description

Contains vulkan shader frequency specific info for UBOs.

Field Documentation

◆ bound_id

u32 bound_id

◆ sampler_indices

u32* sampler_indices

◆ sorted_indices

u32* sorted_indices

◆ texture_indices

u32* texture_indices

◆ ubo_offset

u64 ubo_offset

The offset in bytes for the UBO from the beginning of the uniform buffer for this frequency.

◆ ubo_size

u64 ubo_size

The actual size of the uniform buffer object for this frequency.

◆ ubo_stride

u64 ubo_stride

The stride of the uniform buffer object for this frequency.

◆ uniform_count

u8 uniform_count

The number of non-sampler and non-texture uniforms for this frequency.

◆ uniform_sampler_count

u8 uniform_sampler_count

The number of sampler uniforms for this frequency.

◆ uniform_texture_count

u8 uniform_texture_count

The number of texture uniforms for this frequency.


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