A library to draw pixels in bevy.
A basic example,
```rust use bevy::prelude::; use bevy_pixel_buffer::prelude::;
fn main() { let size = PixelBufferSize { size: UVec2::new(32, 32), // amount of pixels pixel_size: UVec2::new(16, 16), // size of each pixel in the screen };
App::new()
.add_plugins(DefaultPlugins)
.add_plugin(PixelBufferPlugin) // Add this plugin
.add_startup_system(pixel_buffer_setup(size)) // Setup system
.add_system(update)
.run()
}
fn update(mut pb: QueryPixelBuffer) { // Set each pixel to a random color pb.frame().perpixel(|, _| Pixel::random()); } ```

egui*. Egui integration.rayon. Enables extra alternative functions that use rayon.rand. Enables extra functionality related to random values.* Disabled by default.
Version compatibility table.
| bevy | bevy_pixel_buffer |
| ------ | ------------------- |
| 0.10 | 0.4 |
| 0.9 | 0.3 |
| 0.8 | 0.2 |