Kohi Game Engine
shader_uniform_config Struct Reference

Configuration for a uniform. More...

#include <resource_types.h>

Data Fields

u8 name_length
 The length of the name. More...
 
char * name
 The name of the uniform. More...
 
u16 size
 The size of the uniform. More...
 
u32 location
 The location of the uniform. More...
 
shader_uniform_type type
 The type of the uniform. More...
 
shader_scope scope
 The scope of the uniform. More...
 

Detailed Description

Configuration for a uniform.

Field Documentation

◆ location

u32 location

The location of the uniform.

◆ name

char* name

The name of the uniform.

◆ name_length

u8 name_length

The length of the name.

◆ scope

shader_scope scope

The scope of the uniform.

◆ size

u16 size

The size of the uniform.

◆ type

The type of the uniform.


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