oa::render::RenderFrame

Generation-safe lease for one submitted headless target.

StRust public API

Declaration

pub struct RenderFrame { /* private fields */ }
Public Rust declaration.

Public Methods

pub const fn color(&self) -> &Texture
pub const fn producer(&self) -> &Event
pub fn width(&self) -> usize
pub fn height(&self) -> usize
pub fn consume_readback(self) -> Result<Vec<u8>>
pub fn abandon(self)
fn drop(&mut self)

Public Method Documentation

pub const fn color( &self ) -> &Texture
No public source comment is attached to this declaration.
pub const fn producer( &self ) -> &Event
No public source comment is attached to this declaration.
pub fn width( &self ) -> usize
No public source comment is attached to this declaration.
pub fn height( &self ) -> usize
No public source comment is attached to this declaration.
pub fn consume_readback( self ) -> Result<Vec<u8>>
No public source comment is attached to this declaration.
pub fn abandon( self )
No public source comment is attached to this declaration.
fn drop( &mut self )
No public source comment is attached to this declaration.