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_type_bits topology_types
 
primitive_topology_type default_topology
 
u8 colour_attachment_count
 
kasset_shader_attachmentcolour_attachments
 
kasset_shader_attachment depth_attachment
 
kasset_shader_attachment stencil_attachment
 
u8 pipeline_count
 
kasset_shader_pipelinepipelines
 
u8 binding_set_count
 
shader_binding_set_configbinding_sets
 

Detailed Description

Represents a shader asset, typically loaded from disk.

Field Documentation

◆ binding_set_count

u8 binding_set_count

◆ binding_sets

◆ colour_attachment_count

u8 colour_attachment_count

◆ colour_attachments

kasset_shader_attachment* colour_attachments

◆ colour_read

b8 colour_read

◆ colour_write

b8 colour_write

◆ default_topology

primitive_topology_type default_topology

◆ depth_attachment

kasset_shader_attachment depth_attachment

◆ depth_test

b8 depth_test

◆ depth_write

b8 depth_write

◆ name

kname name

◆ pipeline_count

u8 pipeline_count

◆ pipelines

◆ stencil_attachment

kasset_shader_attachment stencil_attachment

◆ stencil_test

b8 stencil_test

◆ stencil_write

b8 stencil_write

◆ supports_wireframe

b8 supports_wireframe

◆ topology_types

◆ version

u32 version

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