Kohi Game Engine
kstatic_mesh_instance Struct Reference

Represents an instance of a static mesh. This is to be used in the world. Material instances are obtained when acquiring this static mesh instance, and released when releasing this static mesh instance. More...

#include <static_mesh_system.h>

Data Fields

kstatic_mesh mesh
 The underlying mesh. More...
 
u16 instance_id
 The identifier of the instance. More...
 

Detailed Description

Represents an instance of a static mesh. This is to be used in the world. Material instances are obtained when acquiring this static mesh instance, and released when releasing this static mesh instance.

Field Documentation

◆ instance_id

u16 instance_id

The identifier of the instance.

◆ mesh

The underlying mesh.


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