Skip to content

2D/3D updateRanges for textures #32254

@WilliamVenner

Description

@WilliamVenner

Description

I have a dynamic sprite sheet that updates often. Uploading the entire thing to the GPU on update is not optimal, and creating an updateRange for each row of pixels that was updated seems hacky and inefficient.

Solution

It would be awesome if textures had 2D/3D updateRanges, too.

add2DUpdateRange add3DUpdateRange methods for example, that allow you to specify width, height, depth.

Alternatives

1D updateRanges, which is inefficient.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions