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

Sink

Trait Sink 

Source
pub trait Sink {
    // Required method
    fn packet(&mut self, words: &[u32]);
}
Expand description

Where the indicator’s GP0 packets go.

Required Methods§

Source

fn packet(&mut self, words: &[u32])

Take one complete GP0 packet. A real sink waits for the GPU’s command FIFO once, then writes every word of the packet back to back (see Gp0).

Implementors§

Source§

impl Sink for Gp0

Available on MIPS only.