A tiny hardware-accelerated pixel frame buffer. 🦀
Breaking changes:
wgpu
to 0.16 (#337)Fixes:
wgpu
backends by default (#356)Features:
adapter
getter API (#340)Fixes:
pixels.render()
on some platforms (#348, #346)wgpu
. (#332)Breaking changes:
wgpu
to 0.15 (#332)Pixels::get_frame()
is now Pixels::frame()
Pixels::get_frame_mut()
is now Pixels::frame_mut()
Pixels::set_clear_color()
is now Pixels::clear_color()
Contributors 💖:
Fixes:
wgpu/webgl
feature flag is automatically enabled on WASM targets. (#320, #276)Breaking changes:
wgpu
to 0.14 (https://github.com/parasyte/pixels/pull/320)Pixels::Error
is now marked #[non_exhaustive]
(#250)Pixels::resize_buffer()
and Pixels::resize_surface()
return Result<_, TextureError>
. (#250)Pixels::resize_buffer()
no longer panics on invalid inputs. (#250)Contributors 💖:
Features:
BlendState
configurable (#260)Breaking changes:
wgpu
to 0.13 (#300)render_texture_format()
no longer sets the texture format for the surface.
surface_texture_format()
builder method to change the surface texture format.get_frame()
to get_frame_mut()
(#288)Contributors 💖:
Features:
Fixes:
Breaking changes:
wgpu
to 0.12 (#230)wgpu::BlendState
has changed from REPLACE
to ALPHA_BLEND
, requiring a valid alpha channel in the pixel buffer for correct rendering. (#236) cf. #305Features:
Pixels
and PixelsBuilder
methods for WASM targets (Thanks @MarkAnthonyM for your support!) (#218)Breaking changes:
SurfaceSize
private (#220)Pixels::render()
and render_with()
now borrow the struct immutably (#222)Breaking changes:
wgpu
to 0.11 (#209)PIXELS_HIGH_PERF
and PIXELS_LOW_PERF
environment variables with wgpu
vars (#198)Fixes:
Breaking changes:
wgpu
to 0.10 (#187)Features:
Breaking changes:
wgpu
to 0.9 (#179)