Skip to content

Adding dimensionDst in copyTextureToTexture #30420

Open
@Makio64

Description

Description

Add dstDimension parameters in copyTextureToTexture to facilitate the usage in dynamic texture drawing

renderer.copyTextureToTexture( srcTexture, dstTexture, srcRegion, dstPosition, dstDimension, level )

Solution

add dstDimension after the dstPosition or after level ( to not break existing code )

Alternatives

I guess the current workaround is to resize the texture before drawing it ?

Additional context

No response

Activity

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

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions