Flecs: ecs_type_info_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
ecs_type_info_t Struct Reference
C API » Core » API types | C API » Core » Components

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

`#include <flecs.h>`

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

## Detailed Description

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

Definition at line 995 of file flecs.h.

## Member Data Documentation

## ◆ alignment

ecs_size_t ecs_type_info_t::alignment

Alignment of type.

Definition at line 997 of file flecs.h.

## ◆ component

ecs_entity_t ecs_type_info_t::component

Handle to component (do not set)

Definition at line 999 of file flecs.h.

## ◆ hooks

ecs_type_hooks_t ecs_type_info_t::hooks

Type hooks.

Definition at line 998 of file flecs.h.

## ◆ name

const char* ecs_type_info_t::name

Type name.

Definition at line 1000 of file flecs.h.

## ◆ size

ecs_size_t ecs_type_info_t::size

Size of type.

Definition at line 996 of file flecs.h.

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

- include/flecs.h