Flecs v3.1
A fast entity component system (ECS) for C & C++
Loading...
Searching...
No Matches
ecs_type_info_t Struct Reference

Type that contains component information (passed to ctors/dtors/...) More...

#include <flecs.h>

Public Attributes

ecs_size_t size
 Size of type. More...
 
ecs_size_t alignment
 Alignment of type. More...
 
ecs_type_hooks_t hooks
 Type hooks. More...
 
ecs_entity_t component
 Handle to component (do not set) More...
 
const char * name
 Type name. More...
 

Detailed Description

Type that contains component information (passed to ctors/dtors/...)

Definition at line 668 of file flecs.h.

Member Data Documentation

◆ alignment

ecs_size_t ecs_type_info_t::alignment

Alignment of type.

Definition at line 670 of file flecs.h.

◆ component

ecs_entity_t ecs_type_info_t::component

Handle to component (do not set)

Definition at line 672 of file flecs.h.

◆ hooks

ecs_type_hooks_t ecs_type_info_t::hooks

Type hooks.

Definition at line 671 of file flecs.h.

◆ name

const char* ecs_type_info_t::name

Type name.

Definition at line 673 of file flecs.h.

◆ size

ecs_size_t ecs_type_info_t::size

Size of type.

Definition at line 669 of file flecs.h.


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