Zheoni / bevy_pixel_buffer

A library to draw pixels in bevy
MIT License
42 stars 7 forks source link

Benchmarks #4

Open bayou-brogrammer opened 1 year ago

bayou-brogrammer commented 1 year ago

Awesome library! I was searching for ways to integrated the pixels library into bevy https://github.com/parasyte/pixels

Was curious how this compared to pixels. This library seems to do the same thing pixels does, just with bevy :)

Zheoni commented 1 year ago

Thanks! pixels is lower level and does not have a whole engine behind so it's probably a bit faster. At the end of the day this library is just a high level API into a bevy image with the ability to attach a compute shader to it.

pixels it's great if you just want to render something into a pixel buffer in the CPU. However handling input, integrating with egui or anything else is up to the user. This lib was designed to abstract all of that with the bevy ecosystem. (Maybe I should add this to the readme).

You also have bevy_pixels. But I think with that the whole bevy renderer is disabled.

Enough talk, I will leave this open until benchmarks are added, because performance can be important in some cases.