Skip to main content
← PSoXide SDK guides and examples · SDK f2fec1c301f1 · All Cargo features enabled; check feature gates before use.

Module display

Module display 

Source
Expand description

What the GPU shows: video standard, resolution, and where the picture sits in the TV signal.

A DisplayConfig is a plain value; crate::Gpu::new programs it at reset and crate::Gpu::set_display reprograms it, so a “screen position” option changes one field and calls one method instead of repeating the arguments init was given.

Structs§

DisplayConfig
Video standard, resolution and picture position, as one value.
DoubleBuffer
Two framebuffers stacked in VRAM: the GPU shows one while the other is drawn, and swap exchanges them.
Resolution
A display resolution the GPU can produce.

Enums§

VideoMode
Video standard.