Crate core

Source
Expand description

This crate provides core functionality for Bevy Engine.

Modules§

prelude
The core prelude.

Structs§

FrameCount
Maintains a count of frames rendered since the start of the application.
FrameCountPlugin
Adds frame counting functionality to Apps.
Name
Component used to identify an entity. Stores a hash for faster comparisons.
NameOrEntity
Convenient query for giving a human friendly name to an entity.
NameOrEntityItem
Automatically generated WorldQuery item type for NameOrEntity, returned when iterating over query results.
NonSendMarker
A dummy type that is !Send, to force systems to run on the main thread.
TaskPoolOptions
Helper for configuring and creating the default task pools. For end-users who want full control, set up TaskPoolPlugin
TaskPoolPlugin
Setup of default task pools: AsyncComputeTaskPool, ComputeTaskPool, IoTaskPool.
TaskPoolThreadAssignmentPolicy
Defines a simple way to determine how many threads to use given the number of remaining cores and number of total cores
TypeRegistrationPlugin
Registration of default types to the TypeRegistry resource.

Functions§

update_frame_count
A system used to increment FrameCount with wrapping addition.