Skip to content

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

@einarf

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions