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

A (string) identifier. More...

#include <flecs.h>

Public Attributes

char * value
 Identifier string.
 
ecs_size_t length
 Length of identifier.
 
uint64_t hash
 Hash of current value.
 
uint64_t index_hash
 Hash of existing record in current index.
 
ecs_hashmap_t * index
 Current index.
 

Detailed Description

A (string) identifier.

Used as pair with EcsName and EcsSymbol tags

Definition at line 1307 of file flecs.h.

Member Data Documentation

◆ hash

uint64_t EcsIdentifier::hash

Hash of current value.

Definition at line 1310 of file flecs.h.

◆ index

ecs_hashmap_t* EcsIdentifier::index

Current index.

Definition at line 1312 of file flecs.h.

◆ index_hash

uint64_t EcsIdentifier::index_hash

Hash of existing record in current index.

Definition at line 1311 of file flecs.h.

◆ length

ecs_size_t EcsIdentifier::length

Length of identifier.

Definition at line 1309 of file flecs.h.

◆ value

char* EcsIdentifier::value

Identifier string.

Definition at line 1308 of file flecs.h.


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