-
Notifications
You must be signed in to change notification settings - Fork 978
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
added texture metadata #3346
added texture metadata #3346
Conversation
…etadata values added `Texture:size` method
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
G2G after some small things
Codecov Report
@@ Coverage Diff @@
## master #3346 +/- ##
==========================================
+ Coverage 64.43% 64.50% +0.06%
==========================================
Files 86 86
Lines 42622 42691 +69
==========================================
+ Hits 27462 27536 +74
+ Misses 15160 15155 -5
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Description
This PR exposes the metadata/attributes of a
Texture
, according to the WebGpu spec: https://www.w3.org/TR/webgpu/#gputexture.This is a draft because I am unsure how to set those attributes for the
SurfaceTexture
s (see the Todo).I would appreciate any guidance you can give me.