Update Introduction

Dawid Masiukiewicz 2021-03-05 20:22:10 +00:00
parent 0b7ee494eb
commit 219fe8a59b

@ -10,7 +10,7 @@ The core idea behind **BECS** technology is the way how it is managing memory an
This layout provides fast memory access thanks to good cache locality. This layout provides fast memory access thanks to good cache locality.
Library provides a possibility to add/remove entity components. That operation means that entity changes it's **entity type** and memory needs to be copied to different location (into chunk of new **entity type**). This operation is quick enough to be used for infrequent logic changes. Library provides a possibility to add/remove entity components. That operation means that entity changes its **entity type** and memory needs to be copied to different location (into chunk of new **entity type**). This operation is quick enough to be used for infrequent logic changes.
Systems execution is managed by library itself. Developer gives the **BECS** information about system priority, components and dependencies. Systems are grouped into **passes**. The purpose for **passes** is to give possibility to run different systems with different frequency (e.g. default pass run once per frame, physics pass called multiple times per frame (fixed time step) and then rendering pass). Passes call all systems assigned to them in order designated by priorities. This type of systems execution model gives library a lot information which helps to improve performance. Systems execution is managed by library itself. Developer gives the **BECS** information about system priority, components and dependencies. Systems are grouped into **passes**. The purpose for **passes** is to give possibility to run different systems with different frequency (e.g. default pass run once per frame, physics pass called multiple times per frame (fixed time step) and then rendering pass). Passes call all systems assigned to them in order designated by priorities. This type of systems execution model gives library a lot information which helps to improve performance.