Polystrip is an accelerated 2D graphics library built on
gfx_hal, which intends to be a pure-rust
replacement for SDL2.
Renderer: Contains data types from the
WindowTarget: Holds data for rendering to a
Frame: The struct everything is drawn onto, generally created from a
*Shape: Primitives to be rendered to
Texture: An image in GPU memory, ready to be rendered to a frame
An example with
winit is available in the documentation for
Methods for converting between screen space and pixel coordinates
Vertices and shapes, the core of the rendering process.
Wrapper for a depth texture, necessary for custom
A frame to be drawn to. The frame gets presented on drop.
Customization options for building a Renderer. Options are detailed on builder methods.
A texture which can be copied to and rendered by a
A target for drawing to a
Holds a shared
Cleanup for a
Can be rendered to by a