Kohi Game Engine
|
Represents a shader uniform within a shader asset. More...
#include <kasset_types.h>
Data Fields | |
const char * | name |
The uniform name. More... | |
shader_uniform_type | type |
The uniform type. More... | |
u32 | size |
The uniform size. Only used for struct type uniforms, ignored otherwise. More... | |
u32 | array_size |
The number of elements for array uniforms. Treated as an array if > 1. More... | |
shader_update_frequency | frequency |
The uniform update frequency (i.e. per-frame, per-group, per-draw) More... | |
Represents a shader uniform within a shader asset.
u32 array_size |
The number of elements for array uniforms. Treated as an array if > 1.
shader_update_frequency frequency |
The uniform update frequency (i.e. per-frame, per-group, per-draw)
const char* name |
The uniform name.
u32 size |
The uniform size. Only used for struct type uniforms, ignored otherwise.
shader_uniform_type type |
The uniform type.