Skip to content

SpriteList: Allow draw() with specific sprite count and offset #1143

Description

@einarf

We should allow users to draw a spritelist with a specific count and offset.

def draw(self, count: int: -1, offset: int =0):
    pass

This is faster than contstantly rebuilding the spritelist.

While we are at it: Also remove the deprecated texture transform uniform setter.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions