-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Torstein Grindvik <torstein.grindvik@nordicsemi.no>
- Loading branch information
1 parent
53837af
commit 9779d69
Showing
5 changed files
with
33 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# TODO | ||
|
||
Just a dev todo, delete file eventually. | ||
|
||
* UniformComponentPlugin a sprite uniform | ||
* In extract_sprites (see extract_meshes), add uniform as component | ||
* SpriteUniform, component + shadertype + clone, field: entity_index: u32 | ||
* Need to add the bind group in SpritePipeline (?) see MeshPipeline's FromWorld | ||
* Then in queue_sprite_bind_group (?) see queue_mesh_bind_group we need Res<ComponentUniforms<SpriteUniform>> | ||
- Create the bind group and clone the binding here | ||
- Insert the resource | ||
* Then we need something like SetMeshBindGroup | ||
* Then update the sprite draw function | ||
|
||
* Lastly, remove all the vertex based sprite stuff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters