Skip to content
This repository has been archived by the owner on Jun 18, 2021. It is now read-only.

ArcRenderPass in shadow example #446

Closed
wants to merge 1 commit into from

Conversation

StarArawn
Copy link

@StarArawn StarArawn commented Jul 17, 2020

fixes: #188 ??!?

I was recently ran into this problem where I had Arc's that I had to pass to the render pass. I thought shadow was probably the best place to showcase that, although arc isn't really needed for anything there..

Copy link
Member

@kvark kvark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for making this! I wish we could talk about it on matrix before you did all the work though.

although arc isn't really needed for anything there..

That's my concern as well. Let's feature that in an example that makes more sense. I.e. have an example, where a vertex buffer is created every frame (or modify an existing one).

@StarArawn
Copy link
Author

Closing this for now as I think about possible example scenarios and come up with something different.

@StarArawn StarArawn closed this Jul 17, 2020
kejor pushed a commit to kejor/wgpu-rs that referenced this pull request Nov 28, 2020
446: Prefer discrete GPU for PowerPreference::Default r=kvark a=aloucks



Co-authored-by: Aaron Loucks <aloucks@cofront.net>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lifetimes on RenderPass make it difficult to use.
2 participants