Comments (5)
There are is consistent API so far:
ecs_buffer_new
- creates type for given signature.ecs_buffer_delete
- alias forecs_delete_type
. (?)ecs_buffer_fetch
- copies data from the world into a buffer for given entity range.ecs_buffer_flush
- copies data from the buffer into a world for the given entity range.- For given entity buffer changes table type from
BYOB
to regular. (?) - For given component buffer changes only table data. (?)
- For given entity buffer changes table type from
ecs_buffer_bind
- adds entities/components into worldecs_buffer_unbind
- removes entities/components from worldecs_buffer_begin
- returns entity/component begin iteratorecs_buffer_end
- returns entity/component end iterator
from flecs.
I'm closing this issue, as it (the problem of inserting large amounts of data) has been addressed with the ecs_set_w_data
API.
from flecs.
How to delete unmanaged
when I don't need it in the application side?
from flecs.
How to export unmanaged
for selected entities(range)?
from flecs.
@ArnCarveris deleting a type is a feature that still needs to be added. When it's added, you will be able to do:
ecs_delete_type(world, byob_type);
Exporting entities (snapshotting) is something I haven't really thought about for too long, but I think this should be possible with regular systems. Systems already receive pointers to component buffers, so it could simply take those, and store them in whatever way it sees fit.
from flecs.
Related Issues (20)
- ecs_entity_init with empty separator fails when entity with that name already exists HOT 1
- Fatal errors when trying to integrate into Emscripten project HOT 3
- Bug: add enum to entity with existing components causes component data to change HOT 1
- Excessive Entities Registered During Enum Constant Registration on MSVC Compiler HOT 6
- ecs_world_to_json doesn't serialize component values HOT 2
- Infinite recursion when adding component with cyclic `With` relationship HOT 1
- Query DSL - ECS_SYSTEM : [out] pair in empty entity with Sync Point HOT 1
- Emscripten to JS library? HOT 2
- The strings.flecs example shows error in the explorer HOT 1
- Abnormal CPU rise when observer HOT 3
- memory and cpu abnormal raise when use complex relations HOT 2
- INTERNAL_ERROR when call children() HOT 2
- Clone entity with name cause internal error HOT 2
- Pair id gives error when deserialized from json HOT 1
- Add a proper data validation and hints API to the meta addon HOT 8
- Crash On flecs_defer_end HOT 5
- Correct way to manually specify entity ids HOT 2
- Assignment within conditional expression error HOT 1
- When deleting an entity, the next created entity gets a bad ID (FLECS 3.2.9) HOT 1
- observer loss event HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flecs.