Kohi Game Engine
kmaterial_instance Struct Reference

A material instance, which contains handles to both the base material as well as the instance itself. Every time an instance is "acquired", one of these is created, and the instance should be referenced using this going from that point. More...

#include <core_render_types.h>

Data Fields

kmaterial base_material
 
u16 instance_id
 

Detailed Description

A material instance, which contains handles to both the base material as well as the instance itself. Every time an instance is "acquired", one of these is created, and the instance should be referenced using this going from that point.

Field Documentation

◆ base_material

kmaterial base_material

◆ instance_id

u16 instance_id

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