Kohi Game Engine
shader_uniform_config Struct Reference

Configuration for a uniform. More...

#include <core_render_types.h>

Data Fields

kname name
 The name of the uniform. More...
 
u16 size
 The size of the uniform. If arrayed, this is the per-element size. More...
 
u32 location
 The location of the uniform. More...
 
shader_uniform_type type
 The type of the uniform. More...
 
u32 array_length
 The array length, if uniform is an array. More...
 
shader_update_frequency frequency
 The update frequency of the uniform. More...
 

Detailed Description

Configuration for a uniform.

Field Documentation

◆ array_length

u32 array_length

The array length, if uniform is an array.

◆ frequency

The update frequency of the uniform.

◆ location

u32 location

The location of the uniform.

◆ name

kname name

The name of the uniform.

◆ size

u16 size

The size of the uniform. If arrayed, this is the per-element size.

◆ type

The type of the uniform.


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