pub trait OffscreenRenderTarget {
    // Required methods
    fn render<ActionIter>(&mut self, actions: ActionIter)
       where ActionIter: IntoIterator<Item = RenderAction>;
    fn realize(self) -> Vec<u8, Global>;
}
Expand description

Trait implemented by FlowBetween offscreen render targets

Required Methods§

source

fn render<ActionIter>(&mut self, actions: ActionIter)where ActionIter: IntoIterator<Item = RenderAction>,

Sends render actions to this offscreen render target

source

fn realize(self) -> Vec<u8, Global>

Consumes this render target and returns the realized pixels as a byte array

Implementors§