Registry / other / bevy-pbr

bevy-pbr

JSON →
library0.18.1rscratesunverified

Adds physically based rendering to the Bevy game engine.

# Cargo.toml [dependencies] bevy_pbr = "0.18.1"
INSTALL
IMPORT
SIG · BEVY-PBR
B
bevy-pbr
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.

PbrBundle
use bevy_pbr::PbrBundle;

Spawn a PBR entity in Bevy.

use bevy::prelude::*; use bevy_pbr::PbrBundle; fn main() { App::new() .add_plugins(DefaultPlugins) .add_systems(Startup, setup) .run(); } fn setup(mut commands: Commands) { commands.spawn(PbrBundle { mesh: todo!(), material: todo!(), ..default() }); }
Debug
Known issues
gotchaRequires Bevy engine as a dependency with matching version.
fix
Add bevy = "0.18" to Cargo.toml.
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-pbr — cargo add bevy-pbr · libregistry