Kohi Game Engine
shader_frequency_data Struct Reference

Represents data required for a particular update frequency within a shader. More...

#include <core_render_types.h>

Data Fields

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
 
u64 ubo_size
 The actual size of the uniform buffer object for this frequency. More...
 
u32 bound_id
 The identifier of the currently bound group/per_draw. Ignored for per_frame. More...
 

Detailed Description

Represents data required for a particular update frequency within a shader.

Field Documentation

◆ bound_id

u32 bound_id

The identifier of the currently bound group/per_draw. Ignored for per_frame.

◆ sampler_indices

u32* sampler_indices

◆ texture_indices

u32* texture_indices

◆ ubo_size

u64 ubo_size

The actual size 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: