Skip to content

Cache _draw and _process functions #13

@CoolDotty

Description

@CoolDotty

By default, _draw functions are cached and must manually be called with queue_redraw. Right now, the cache is bypassed via calling queue_redraw in _process, as we need to align draws based on changes to the Camera2D (ie. counteract view space scale / rotations).

We should optimize this by only calling queue_redraw on some kind of viewport transform changed signal or the _draw command seamlessly accounting for the viewport transform changing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions