Kohi Game Engine
kasset_shader Struct Reference

Represents a shader asset, typically loaded from disk. More...

#include <kasset_types.h>

Data Fields

kname name
 
u32 version
 
b8 depth_test
 
b8 depth_write
 
b8 stencil_test
 
b8 stencil_write
 
b8 colour_read
 
b8 colour_write
 
b8 supports_wireframe
 
primitive_topology_types topology_types
 
face_cull_mode cull_mode
 
u16 max_groups
 
u16 max_draw_ids
 
u32 stage_count
 
kasset_shader_stagestages
 
u32 attribute_count
 
kasset_shader_attributeattributes
 
u32 uniform_count
 
kasset_shader_uniformuniforms
 

Detailed Description

Represents a shader asset, typically loaded from disk.

Field Documentation

◆ attribute_count

u32 attribute_count

◆ attributes

◆ colour_read

b8 colour_read

◆ colour_write

b8 colour_write

◆ cull_mode

face_cull_mode cull_mode

◆ depth_test

b8 depth_test

◆ depth_write

b8 depth_write

◆ max_draw_ids

u16 max_draw_ids

◆ max_groups

u16 max_groups

◆ name

kname name

◆ stage_count

u32 stage_count

◆ stages

◆ stencil_test

b8 stencil_test

◆ stencil_write

b8 stencil_write

◆ supports_wireframe

b8 supports_wireframe

◆ topology_types

primitive_topology_types topology_types

◆ uniform_count

u32 uniform_count

◆ uniforms

◆ version

u32 version

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