-
Notifications
You must be signed in to change notification settings - Fork 437
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
Add Minimal Offscreen Rendering Example #2451
Conversation
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.
I think you forgot to remove some of the comments from the triangle example. The idea is that only comments specific to the example are present, so these should be removed. It would also be best to very briefly comment how this example differs from the triangle example, for instance commenting the image and readback buffer. As much as a sentence will be enough.
Co-authored-by: marc0246 <[email protected]>
Co-authored-by: marc0246 <[email protected]>
Co-authored-by: marc0246 <[email protected]>
Co-authored-by: marc0246 <[email protected]>
Co-authored-by: marc0246 <[email protected]>
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.
LGTM, I just have some nits regarding formatting / English remaining.
Co-authored-by: marc0246 <[email protected]>
Co-authored-by: marc0246 <[email protected]>
Co-authored-by: marc0246 <[email protected]>
Co-authored-by: marc0246 <[email protected]>
Co-authored-by: marc0246 <[email protected]>
Co-authored-by: marc0246 <[email protected]>
Co-authored-by: marc0246 <[email protected]>
Co-authored-by: marc0246 <[email protected]>
Co-authored-by: marc0246 <[email protected]>
Co-authored-by: marc0246 <[email protected]>
Co-authored-by: marc0246 <[email protected]>
Co-authored-by: marc0246 <[email protected]>
Co-authored-by: marc0246 <[email protected]>
Co-authored-by: marc0246 <[email protected]>
Thank you for the work! |
* add offscreen example * cleanup example * more cleanup * typo * fix clippy * Update examples/offscreen/main.rs Co-authored-by: marc0246 <[email protected]> * Update examples/offscreen/main.rs Co-authored-by: marc0246 <[email protected]> * Update examples/offscreen/main.rs Co-authored-by: marc0246 <[email protected]> * edits * i'm loosing my marbles * Update examples/offscreen/main.rs Co-authored-by: marc0246 <[email protected]> * Update examples/offscreen/main.rs Co-authored-by: marc0246 <[email protected]> * formatting * Update examples/offscreen/Cargo.toml Co-authored-by: marc0246 <[email protected]> * Update examples/offscreen/main.rs Co-authored-by: marc0246 <[email protected]> * Update examples/offscreen/main.rs Co-authored-by: marc0246 <[email protected]> * Update examples/offscreen/main.rs Co-authored-by: marc0246 <[email protected]> * Update examples/offscreen/main.rs Co-authored-by: marc0246 <[email protected]> * Update examples/offscreen/main.rs Co-authored-by: marc0246 <[email protected]> * Update examples/offscreen/main.rs Co-authored-by: marc0246 <[email protected]> * Update examples/offscreen/main.rs Co-authored-by: marc0246 <[email protected]> * Update examples/offscreen/main.rs Co-authored-by: marc0246 <[email protected]> * Update examples/offscreen/main.rs Co-authored-by: marc0246 <[email protected]> * Update examples/offscreen/main.rs Co-authored-by: marc0246 <[email protected]> * Update examples/offscreen/main.rs Co-authored-by: marc0246 <[email protected]> * cargo fmt * more correct description * import * Update examples/offscreen/main.rs Co-authored-by: marc0246 <[email protected]> * Update examples/offscreen/main.rs Co-authored-by: marc0246 <[email protected]> --------- Co-authored-by: marc0246 <[email protected]>
Adds a minimal offscreen rendering example. I spent a few hours stuck on a bug adapting the triangle example before getting here. I hope this will help fill in the mental model of vulkan for future readers by providing a minimal starting point without the complexity of swapchains.
Changelog: