Registry / other / bevy-asset

bevy-asset

JSON →
library0.18.1rscratesunverified

Provides asset loading, management, and processing for the Bevy game engine.

# Cargo.toml [dependencies] bevy_asset = "0.18.1"
INSTALL
IMPORT
SIG · BEVY-ASSET
B
bevy-asset
otherrustv0.18.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AssetServer
use bevy_asset::AssetServer;

Loads a texture asset using Bevy's AssetServer.

use bevy_asset::AssetServer; use bevy::prelude::*; fn main() { App::new() .add_plugins(DefaultPlugins) .add_systems(Startup, |asset_server: Res<AssetServer>| { let _handle = asset_server.load("my_texture.png"); }) .run(); }
Debug
Known issues
gotchaRequires Bevy engine and its plugin system; not standalone
fix
Add bevy as a dependency and use DefaultPlugins or AssetPlugin.
affects: >= 0.18.0
Upgrade
Version history
0.18.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
Meta
1
OpenAI (training)
1
Resources
bevy-asset — cargo add bevy-asset · libregistry