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

[usability] image.createViewFromData confusing #73

Open
p0nce opened this issue Oct 21, 2024 · 2 comments
Open

[usability] image.createViewFromData confusing #73

p0nce opened this issue Oct 21, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@p0nce
Copy link
Collaborator

p0nce commented Oct 21, 2024

People in a hurry believes it create its own buffer, and then copy existing data into it.
(a bit like glTexImage2d actually).
But it just reference the data.

@p0nce p0nce added documentation Improvements or additions to documentation question Further information is requested labels Oct 21, 2024
@p0nce p0nce changed the title [usability] image.createViewFromData [usability] image.createViewFromData confusing Oct 21, 2024
@p0nce
Copy link
Collaborator Author

p0nce commented Oct 21, 2024

  • also identifier is ugly

@p0nce
Copy link
Collaborator Author

p0nce commented Oct 26, 2024

It is now createView, while createFromData will own and copy that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant