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

[Examples] change texture2d to texture #4233

Closed

Conversation

CrackedPixel
Copy link
Sponsor Contributor

@CrackedPixel CrackedPixel commented Aug 8, 2024

Texture2D is just an alias for Texture and i think it looks cleaner with just "Texture". It also makes it clear that there is NOT a Texture3D, etc

This pattern is also used in existing examples such as

Texture texDiffuse = LoadTexture("resources/plasma.png");

@CrackedPixel CrackedPixel changed the title change texture2d to texture [Examples] change texture2d to texture Aug 8, 2024
@raysan5 raysan5 closed this Aug 9, 2024
@raysan5
Copy link
Owner

raysan5 commented Aug 9, 2024

@CrackedPixel As mentioned, I prefer not to change that naming.

@CrackedPixel CrackedPixel deleted the update-examples-2d-remove branch August 9, 2024 22:56
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.

2 participants