A quick discussion about using a staging buffer in the Vulkan API. We would like our vertex buffer to use device local memory, but we have to get the data into device local memory via the staging buffer.
Cuda Education Vulkan Tutorial #12: https://amzn.to/3c39yVW
Vulkan API Tutorial Series: https://amzn.to/3CfrUQJ
DISCLAIMER: Use at your own risk! This code and/or instructions are for teaching purposes only. Cuda Education does not guarantee the accuracy of this code in any way. The code and instructions on this site may cause hardware damage and/or instability in your system. This code and/or instructions should not be used in a production or commercial environment.
Any liabilities or loss resulting from the use of this code and/or instructions, in whole or in part, will not be the responsibility of Cuda Education. All rights reserved. This code is the property of Cuda Education. Please contact Cuda Education at [email protected] if you would like to use this code in any way, shape or form.