Closed tmvkrpxl0 closed 7 months ago
oh SafeDeref
can also be reference as well, my bad
We have examples that show reading/writing of subbuffers containing unsized data. It's no different from reading/writing sized data. Not sure what you mean by BufferWriteGuard
taking in owned data. update_buffer
needs to be passed in an owned smart pointer because of temporary limitations.
main.rs
file that demonstrates the issue: TODOIssue
Noob question, I have
Subbuffer<[T]>
that I created withBuffer::new_unsized
. This is for sharing dynamically sized array. How do I send it to GPU? BothBufferWriteGuard
andRecordingCommandBuffer::update_buffer
takes in owned data. and I don't think it's possible to turnVec<T>
to[T]