Skip to main content

add_post_render_hook

Function add_post_render_hook 

Source
pub fn add_post_render_hook(
    hook: impl FnMut(&Device, &Queue, &mut CommandEncoder, &TextureView, (u32, u32)) + 'static,
)
Expand description

Adds a post render hook to the application. Binds a closure which will run before submitting the queue.

ยงExamples

let queue = get_queue();