Skip to main content

command_draw_scope

Function command_draw_scope 

Source
pub fn command_draw_scope(
    size: Size,
    recording: &mut CommandRecording,
) -> DrawScopeDefault<'_>
Expand description

The scope every framework-run draw command records into: sized by the consumer, measuring text with the app’s fonts, recording into recording in place. A recording kept from an earlier frame keeps the capacity its buffers earned.