Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚧Add render overloads #1028

Merged
merged 9 commits into from
Sep 3, 2024
Merged

Conversation

CalvinWilkinson
Copy link
Member

@CalvinWilkinson CalvinWilkinson commented Aug 29, 2024

Description:

To allow this pull request to be merged, please make sure that the following items of this pull request are complete.

This pull request closes #957

✅The pull request head branch must be a feature branch with the syntax 'feature/-sync-testing'.
✅The pull request base branch must be a 'main' or 'preview' branch..
✅The pull request head branch contains a valid issue number.
✅The pull request title matches the linked issue title exactly.
✅The pull request assignees match the assignees of the issue.
✅The pull request labels match the labels of the issue.
✅The pull request organizational projects match the organizational projects of the issue.
✅The pull requests milestone matches the milestone of the issue.


Additional Info:

  1. Pull requests are automatically synced with the associated issue upon creation by one of the KinsonDigital workflow bots.
  2. The associated issue is the issue number that is embedded in the pull request head branch.
  3. The list above will be automatically updated as the pull request's various settings match or do not match the associated issue.
  4. To manually sync the pull request to the issue, create a comment with the [run-sync] command.

    Note You must be an admin member of the organization to use this command.


  • Sync with the issue. Use this to enable or disable this pull request from syncing with its associated issue.

@CalvinWilkinson CalvinWilkinson added this to the v1.0.0-preview.38 milestone Aug 29, 2024
@CalvinWilkinson CalvinWilkinson changed the title new pr 🚧Add render overloads Aug 29, 2024
@CalvinWilkinson CalvinWilkinson added ✨new-feature New feature that does not exist medium-priority Medium Priority preview Done while in preview labels Aug 29, 2024
@CalvinWilkinson CalvinWilkinson self-assigned this Aug 29, 2024
@CalvinWilkinson CalvinWilkinson marked this pull request as ready for review September 3, 2024 16:50
Velaptor/Graphics/Renderers/ITextureRenderer.cs Outdated Show resolved Hide resolved
Velaptor/Graphics/Renderers/ITextureRenderer.cs Outdated Show resolved Hide resolved
Velaptor/Graphics/Renderers/ITextureRenderer.cs Outdated Show resolved Hide resolved
Velaptor/Graphics/Renderers/ITextureRenderer.cs Outdated Show resolved Hide resolved
@CalvinWilkinson CalvinWilkinson added the 📑documentation-code Code documentation changes in source code. XML code docs/comments label Sep 3, 2024
@CalvinWilkinson
Copy link
Member Author

CalvinWilkinson commented Sep 3, 2024

Note

Improved the 📑documentation-code Code documentation changes in source code. XML code docs/comments for the ITextureRenderer interface

@CalvinWilkinson
Copy link
Member Author

[run-sync]

@CalvinWilkinson CalvinWilkinson added 📑documentation-code Code documentation changes in source code. XML code docs/comments and removed 📑documentation-code Code documentation changes in source code. XML code docs/comments labels Sep 3, 2024
@CalvinWilkinson
Copy link
Member Author

Note

Added the following ✨new-feature New feature that does not exist 's by creating new render texture overloads.

  • void Render(ITexture texture, int x, int y, float angle, float size, int layer = 0);
  • void Render(ITexture texture, Vector2 pos, float angle, float size, int layer = 0);
  • void Render(ITexture texture, int x, int y, float angle, float size, Color color, int layer = 0);
  • void Render(ITexture texture, Vector2 pos, float angle, float size, Color color, int layer = 0);
  • void Render(IAtlasData atlas, string subTextureName, Vector2 pos, int frameNumber, int layer = 0);
  • void Render(IAtlasData atlas, string subTextureName, Vector2 pos, Color color, int frameNumber, int layer = 0);
  • void Render(IAtlasData atlas, string subTextureName, Vector2 pos, float angle, int frameNumber, int layer = 0);
  • void Render(IAtlasData atlas, string subTextureName, Vector2 pos, float angle, float size, int frameNumber, int layer = 0);
  • void Render(IAtlasData atlas, string subTextureName, Vector2 pos, float angle, Color color, int frameNumber, int layer = 0);
  • void Render(IAtlasData atlas, string subTextureName, Vector2 pos, float angle, float size, Color color, int frameNumber, int layer = 0);
  • void Render(IAtlasData atlas, string subTextureName, Vector2 pos, float angle, float size, Color color, RenderEffects effects, int frameNumber = 0, int layer = 0);

@CalvinWilkinson CalvinWilkinson merged commit 5e9bf12 into preview Sep 3, 2024
28 of 29 checks passed
@CalvinWilkinson CalvinWilkinson deleted the feature/957-add-render-overloads branch September 3, 2024 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📑documentation-code Code documentation changes in source code. XML code docs/comments medium-priority Medium Priority ✨new-feature New feature that does not exist preview Done while in preview
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

🚧Add render overloads
2 participants