Module bevy::asset

source ·
Expand description

Load and store assets and resources for Apps.

Modules§

Macros§

  • Creates a new embedded asset by embedding the bytes of the given path into the current binary and registering those bytes with the embedded AssetSource.
  • Returns the Path for a given embedded asset. This is used internally by embedded_asset and can be used to get a Path that matches the AssetPath used by that asset.
  • Loads an “internal” asset by embedding the string stored in the given path_str and associates it with the given handle.
  • Loads an “internal” binary asset by embedding the bytes stored in the given path_str and associates it with the given handle.

Structs§

Enums§

Traits§

Functions§

Type Aliases§

  • An owned and dynamically typed Future used when you can’t statically type your result or need to add some indirection.

Derive Macros§