Skip to main content

remove_render_target

Function remove_render_target 

Source
pub fn remove_render_target(id: i32) -> bool
Expand description

Takes the render target with the id id out of the table of the calling thread; returns whether it was there. What still draws to the target (a render target a backend created from it) keeps it alive until it is released, on this thread.

For the thread that renders, when a view is closed.