Flecs: ecs_header_t Struct Reference
Description: A fast entity component system (ECS) for C & C++

| Flecs v4.0 A fast entity component system (ECS) for C & C++

Loading...
Searching...
No Matches
Public Attributes | List of all members
ecs_header_t Struct Reference
C API » Core » API types » Core API Types

Header for ecs_poly_t objects. More...

`#include <flecs.h>`

## Public Attributes
int32_t | magic
| Magic number verifying it's a flecs object.
int32_t | type
| Magic number indicating which type of flecs object.
int32_t | refcount
| Refcount, to enable RAII handles.
ecs_mixins_t * | mixins
| Table with offsets to (optional) mixins.

## Detailed Description

Header for ecs_poly_t objects.

Definition at line 486 of file flecs.h.

## Member Data Documentation

## ◆ magic

int32_t ecs_header_t::magic

Magic number verifying it's a flecs object.

Definition at line 487 of file flecs.h.

## ◆ mixins

ecs_mixins_t* ecs_header_t::mixins

Table with offsets to (optional) mixins.

Definition at line 490 of file flecs.h.

## ◆ refcount

int32_t ecs_header_t::refcount

Refcount, to enable RAII handles.

Definition at line 489 of file flecs.h.

## ◆ type

int32_t ecs_header_t::type

Magic number indicating which type of flecs object.

Definition at line 488 of file flecs.h.

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

- include/flecs.h