Skip to main content

variable_analog_draw_commands

Function variable_analog_draw_commands 

Source
pub(crate) fn variable_analog_draw_commands(
    displayed_variable: &DisplayedVariable,
    display_id: DisplayedItemRef,
    waves: &WaveData,
    translators: &TranslatorList,
    view_width: f32,
    viewport_idx: usize,
) -> Option<VariableDrawCommands>
Expand description

Generate draw commands for a displayed analog variable. Returns None if unrenderable, or a cache-build command if cache not ready.