Expand description
G2d
:warning: G2d is not ready for serious use yet! It’s still in early development, it might be really buggy and missing some features. Expect breaking changes without notice!
A hardware-accelerated 2D graphics library written in pure Rust.
Re-exports
pub use wgpu;
Structs
- A view into a Texture used for reading or writing to it.
- Represents an RGBA color.
- The width and height of an object in integer precision.
- The current frame of a window.
- A Texture on the GPU owned by the CPU.
- The pixels of a texture.
- A Handle to the G2d API which is initialized for a specific window.
- A Handle to the G2d API which doesn’t require a window.
Enums
- An error from G2d.
Traits
- A handle to the G2d API.
- A G2d texture.