Skip to main content

Module embedded

Module embedded 

Source
Expand description

Support for embedded assets, which are assets that are included inside the application executable instead of being deployed alongside it.

See the embedded_asset! macro for details.

Structs§

EmbeddedAssetRegistry
A Resource that manages “rust source files” in a virtual in memory Dir, which is intended to be shared with a MemoryAssetReader. Generally this should not be interacted with directly. The embedded_asset! macro will populate this.

Constants§

EMBEDDED
The name of the embedded AssetSource, as stored in the AssetSourceBuilders resource.

Traits§

GetAssetServer
Trait for the load_embedded_asset! macro, to access AssetServer from arbitrary things.