[−][src]Crate pixels
A tiny library providing a GPU-powered pixel buffer.
Pixels represents a 2D pixel buffer with an explicit image resolution, making it ideal for
prototyping simple pixel-based games, animations, and emulators. The pixel buffer is rendered
entirely on the GPU, allowing developers to easily incorporate special effects with shaders and
a customizable pipeline.
The GPU interface is offered by wgpu, and is re-exported for
your convenience. Use a windowing framework or context manager of your choice;
winit is a good place to start.
Re-exports
pub use wgpu; |
Macros
| include_spv |
Structs
| Pixels | Represents a 2D pixel buffer with an explicit image resolution. |
| PixelsBuilder | A builder to help create customized pixel buffers. |
| SurfaceTexture | A logical texture for a window surface. |
Enums
| Error | All the ways in which creating a pixel buffer can fail. |
Traits
| RenderPass | Objects that implement this trait can be added to |
Type Definitions
| BoxedRenderPass | The boxed render pass type for dynamic dispatch |
| Device | A reference-counted |
| Queue | A reference-counted |