docs.rs failed to build waterkit-screen-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Waterkit Screen
Screen capture with wgpu texture output.
Features
- Simple Screenshot: Device-free capture with PNG/HEIF/AVIF encoding
- GPU Streaming: Screen capture frames uploaded to wgpu textures
- Screen Info: Resolution, scaling factor, and display enumeration
- Brightness Control: Get/set screen brightness (platform-dependent)
Installation
[]
= "0.1"
Platform Support
| Platform | Screenshot | GPU Streaming | Brightness |
|---|---|---|---|
| macOS | PNG/HEIF/AVIF | IOSurface → wgpu | Stub |
| Windows | PNG | wgpu upload | Stub |
| Linux | PNG | wgpu upload | Stub |
| iOS | PNG/HEIF/AVIF | - | UIKit |
| Android | - | - | Settings API |
Usage
Simple Screenshot
use ;
GPU Streaming
use ;
use Arc;
Examples
# Simple screenshot
# GPU streaming statistics
# Basic demo