Kohi Game Engine
|
Represents a single entry in the internal uniform array. More...
#include <core_render_types.h>
Data Fields | |
kname | name |
u64 | offset |
The offset in bytes from the beginning of the uniform set (per-frame/per-group/per-draw) More... | |
u16 | location |
The location to be used as a lookup. For samplers and textures, this is the index within the internal sampler/texture array at the given frequency (per-frame/per-group/per-draw). Otherwise, index into the uniform array within the shader. More... | |
u16 | tex_samp_index |
Index into the internal sampler/texture array depending on type. More... | |
u16 | size |
The size of the uniform, or 0 for samplers. More... | |
shader_update_frequency | frequency |
The update frequency of the uniform. More... | |
shader_uniform_type | type |
The type of uniform. More... | |
u32 | array_length |
The length of the array if it is one; otherwise 0. More... | |
Represents a single entry in the internal uniform array.
u32 array_length |
The length of the array if it is one; otherwise 0.
shader_update_frequency frequency |
The update frequency of the uniform.
u16 location |
The location to be used as a lookup. For samplers and textures, this is the index within the internal sampler/texture array at the given frequency (per-frame/per-group/per-draw). Otherwise, index into the uniform array within the shader.
kname name |
u64 offset |
The offset in bytes from the beginning of the uniform set (per-frame/per-group/per-draw)
u16 size |
The size of the uniform, or 0 for samplers.
u16 tex_samp_index |
Index into the internal sampler/texture array depending on type.
shader_uniform_type type |
The type of uniform.