| Crates.io | win-overlay |
| lib.rs | win-overlay |
| version | 0.1.0 |
| created_at | 2021-08-20 14:11:53.320886+00 |
| updated_at | 2021-08-20 14:11:53.320886+00 |
| description | DirectX overlay for Windows written in Rust |
| homepage | |
| repository | |
| max_upload_size | |
| id | 439992 |
| size | 13,345 |
DirectX overlay written in Rust for various projects, wanted to easily create overlays across projects so decided to write my own implementation in Rust.
//....
use win_overlay::Overlay;
pub fn main() {
let overlay = Overlay::create_overlay(/**/);
// Note: this enters a loop.
overlay.draw(&|| {
overlay.draw_filled_box(0, 0, 100, 100, D3DCOLOR_RGBA(255,0,0,255));
});
}