Skip to content

Docs: correct texture frame drawing references - #7365

Open
ICOM725 wants to merge 1 commit into
phaserjs:masterfrom
ICOM725:docs/dynamictexture-frame-reference
Open

Docs: correct texture frame drawing references#7365
ICOM725 wants to merge 1 commit into
phaserjs:masterfrom
ICOM725:docs/dynamictexture-frame-reference

Conversation

@ICOM725

@ICOM725 ICOM725 commented Sep 7, 2026

Copy link
Copy Markdown

This PR

  • Updates the Documentation

Describe the changes below:

Point DynamicTexture.draw and RenderTexture.draw to stamp when specifying a texture frame. Both comments still refer to drawFrame, which these classes no longer provide.

Fixes #7279.

Validation:

  • Checked both stamp(key, frame, x, y, config) methods and the draw delegation against the source.
  • node --check src/textures/DynamicTexture.js and node --check src/gameobjects/rendertexture/RenderTexture.js passed.
  • git diff --check passed.

No runtime code or generated files changed.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistent document descriptions in DynamicTexture class

1 participant