-
Notifications
You must be signed in to change notification settings - Fork 255
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
Cannot access diffuse_texture.view while working through the beginner tutorial on textures #120
Comments
Hmm seems like I just got a bit confused; added the anyhow crate; and now it works after doing the cleanup steps. |
I might need to do a once over on that particular tutorial. I just have the code for the completed version after clean up. I probably should have the code for the version before the cleanup. |
@corjohnson I've done a cleanup over in #124 - could you check to see if this fixes the problems you ran into? |
I think this should; seems like the biggest problem I had was the anyhow crate 😄 |
Me too. ;)
…On Sat, 21 Nov 2020 at 6:07 am, Corey Johnson ***@***.***> wrote:
I think this should; seems like the biggest problem I had was the anyhow
crate 😄
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#120 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAPNXZ5YCKKOXYLSQXQ4BH3SQ246BANCNFSM4TO4U3TA>
.
|
Should be fixed in #126 |
https://sotrh.github.io/learn-wgpu/beginner/tutorial5-textures/#loading-an-image-from-a-file
Basically just following along but I'm getting an error while working through the subsections. I just noticed it when I was at the shader section, but in the tutorial steps the variable
diffuse_texture
seems to be used for two separate things.No matter if
diffuse_texture
is a Texture or DynamicImage I can't seem to access the view or sampler fields.Not sure if I'm just missing something obvious here, but wanted to bring it up!
The text was updated successfully, but these errors were encountered: