|0.3.1||Oct 12, 2023|
|0.3.0||Jul 29, 2023|
|0.2.2||May 27, 2023|
#197 in Graphics APIs
51 downloads per month
Used in theo
piet implementation based on
piet-wgpu is free software: you can redistribute it and/or modify it under the terms of
- GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
- Mozilla Public License as published by the Mozilla Foundation, version 2.
piet-wgpu is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License or the Mozilla Public License for more details.
You should have received a copy of the GNU Lesser General Public License and the Mozilla
Public License along with
piet-wgpu. If not, see https://www.gnu.org/licenses/ or
This crate follows the
wgpu middleware pattern, but in a somewhat unique way.
- The user creates the
new()with a device and expected texture format.
- Before rendering, the user creates a
prepare()returns the context, which is expected to be written to.
- Finally, by calling
WgpuContext, the user renders all of the material that was written to the