-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Render-api-v2 further enhancements #107
Comments
I'm conflicted on &Device vs Rc vs Arc honestly. I wish there was a good way to let the user choose what they need. |
I was thinking about this on the plane the other day. There is no requirement for The |
That also works. I just ran into an issue where I need Arc, so this would be appreciated. Also note that https://github.com/parasyte/pixels/blob/wip/render-api-v2/src/renderers.rs#L16 should be &Device |
Pixel
should store and give outRc<Device>
and probablyRc<Queue>
as well.PixelBuilder should have a
scaling_renderer_with_input_texture(texture: &TextureView)
method, or don't store it in Pixel, and have the user construct it themselves.The text was updated successfully, but these errors were encountered: