SpriteBatch support for 2D arrays

Open
#107 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp

Research direction

Start by reading SpriteBatch and its shaders to understand how per-sprite texture UVs are represented. Define the work around adding a per-sprite array index and supporting packed 2D texture arrays while retaining Direct3D feature level 10.0 compatibility. Done means SpriteBatch can select the appropriate texture-array layer for each sprite.

Written by the indexing model from the issue text.

Description

proposal

SpriteBatch and it's shaders could be made to leverage a per-sprite array index in addition to texture UVs to be able to pack textures into a 2D texture array. This would require Direct3D hardware feature level 10.0.

Dominant language
C++
Stars
2.9k
Forks
538
Avg merge
14h 50m
Merged PRs (30d)
4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/DirectXTK

All issues in microsoft/DirectXTK

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.