pub struct FrameOutput<'a> {
pub list: &'a mut CommandList,
pub kernels: &'a Kernels,
pub texture: &'a Texture,
pub origin: [f32; 2],
pub header: [f32; 4],
}Expand description
The final image of a frame, handed to Renderer::submit_frame_with
callbacks so they can consume it in the same command buffer.
Fields§
§list: &'a mut CommandList§kernels: &'a Kernels§texture: &'a Texture§origin: [f32; 2]Frame position of the texture’s top-left texel.
header: [f32; 4]Frame header (time, frame, width, height) for kernel params.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for FrameOutput<'a>
impl<'a> !Send for FrameOutput<'a>
impl<'a> !Sync for FrameOutput<'a>
impl<'a> !UnwindSafe for FrameOutput<'a>
impl<'a> Forget for FrameOutput<'a>
impl<'a> Freeze for FrameOutput<'a>
impl<'a> Move for FrameOutput<'a>
impl<'a> Unpin for FrameOutput<'a>
impl<'a> UnsafeUnpin for FrameOutput<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more