Closed CDaut closed 4 months ago
Wow. Thanks -_-
Hmm, did I say something wrong? :(
No absolutely not, thank you! I just realized that I should probably be sleeping instead of writing code since this is a really minor easy to fix error that was bugging me for hours now and I couldn't figure it out ^^
Template
If you dont understand something just leave it. If you can provide more detailed information than the template allows for, please ignore the template and present all of your findings.
Issue
I am attempting to use an
AutoCommandBufferBuilder
to construct anAutoCommandBuffer
but run into a lifetime issue when calling the.build()
function on the builder. The compiler gives the following error:I do not quite understand how I am supposed to use the Builder instead. My code is as follows:
I am attempting to follow This hopelessly outdated tutorial and This chapter from the vulkano book. In the book the build method is also just called, obtaining a command_buffer. Any help would be appreciated!