Skip to content

Render to memory without copy #4292

Answered by SludgePhD
elbaro asked this question in Q&A
Discussion options

You must be logged in to vote

Buffer is located in GPU memory, and BufferView is a view into that GPU memory (mapped into your programs address space, so that it can be treated as normal memory). The copy from that to the Vec<u8> would only copy the data to CPU memory once.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by elbaro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants