Kohi Game Engine
shader_system_config Struct Reference

Configuration for the shader system. More...

#include <shader_system.h>

Data Fields

u16 max_shader_count
 The maximum number of shaders held in the system. NOTE: Should be at least 512. More...
 
u8 max_uniform_count
 The maximum number of uniforms allowed in a single shader. More...
 
u8 max_global_textures
 The maximum number of global-scope textures allowed in a single shader. More...
 
u8 max_instance_textures
 The maximum number of instance-scope textures allowed in a single shader. More...
 

Detailed Description

Configuration for the shader system.

Field Documentation

◆ max_global_textures

u8 max_global_textures

The maximum number of global-scope textures allowed in a single shader.

◆ max_instance_textures

u8 max_instance_textures

The maximum number of instance-scope textures allowed in a single shader.

◆ max_shader_count

u16 max_shader_count

The maximum number of shaders held in the system. NOTE: Should be at least 512.

◆ max_uniform_count

u8 max_uniform_count

The maximum number of uniforms allowed in a single shader.


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