Pico Headers
Loading...
Searching...
No Matches
Public Attributes | List of all members
ecs_sys_desc_t Struct Reference

Optional parameters for system definition. More...

#include <pico_ecs.h>

Collaboration diagram for ecs_sys_desc_t:
Collaboration graph
[legend]

Public Attributes

ecs_mask_t mask
 
ecs_on_join_fn on_join_cb
 
ecs_on_leave_fn on_leave_cb
 
void * udata
 

Detailed Description

Optional parameters for system definition.

Parameters
maskBitmask that assigns the system to one or more categories. A value of 0 means the system matches all categories.
on_join_cbCalled when an entity is added to the system (can be NULL)
on_leave_cbCalled when an entity is removed from the system (can be NULL)
udataUser data passed to callbacks (can be NULL)

Member Data Documentation

◆ mask

ecs_mask_t ecs_sys_desc_t::mask

◆ on_join_cb

ecs_on_join_fn ecs_sys_desc_t::on_join_cb

◆ on_leave_cb

ecs_on_leave_fn ecs_sys_desc_t::on_leave_cb

◆ udata

void* ecs_sys_desc_t::udata

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