Skip to content

feat: Texture2DにUV座標を追加#54

Merged
EbiseLutica merged 7 commits into
v2from
texture_uv
Mar 18, 2026
Merged

feat: Texture2DにUV座標を追加#54
EbiseLutica merged 7 commits into
v2from
texture_uv

Conversation

@EbiseLutica
Copy link
Copy Markdown
Collaborator

@EbiseLutica EbiseLutica commented Jul 12, 2025

fix #52

  • Texture2Dに UvStart UvEnd` プロパティを追加
  • OpenGLのテクスチャレンダラーが、 UvStart UvEnd プロパティを用いるよう変更
  • OpenGLのテクスチャファクトリの LoadSpriteSheet が、本機能を用いて1つだけハンドルを生成し、複数のTexture2Dで使い回すように

@EbiseLutica
Copy link
Copy Markdown
Collaborator Author

NineSliceSpriteについても同様の処理を行うか?

@EbiseLutica EbiseLutica requested a review from Copilot July 13, 2025 02:43

This comment was marked as outdated.

@EbiseLutica
Copy link
Copy Markdown
Collaborator Author

macOS上で動かしたときに、タイルマップの処理が異常に遅くなってしまうようになった

実装に問題がありそうなので一旦マージは見送る(Draft扱いとする)

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Mar 17, 2026

Deploying promete with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3ffdf2a
Status: ✅  Deploy successful!
Preview URL: https://977aba2f.promete.pages.dev
Branch Preview URL: https://texture-uv.promete.pages.dev

View logs

@EbiseLutica EbiseLutica changed the base branch from master to v2 March 17, 2026 18:34
@EbiseLutica EbiseLutica changed the title テクスチャにUV座標を設定できるようにし、スプライトシート読み込み時にハンドル数を節約できるように feat: Texture2DにUV座標を追加 Mar 17, 2026
@EbiseLutica EbiseLutica merged commit d452fbf into v2 Mar 18, 2026
1 check passed
@EbiseLutica EbiseLutica deleted the texture_uv branch March 18, 2026 05:51
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.

Texture2DにUV座標をもたせる

2 participants