Can a uniform buffer be updated after creation using map_async? #3357
-
I have a uniform buffer containing a projection matrix. As I move my camera, I need to update this matrix. I tried using map_async on that uniform buffer, but I received errors. I can't seem to be able to combine UNIFORM with MAP_WRITE and COPY_DST it seems that a uniform buffer can't be updated after creation. Am I right? |
Beta Was this translation helpful? Give feedback.
Answered by
cwfitzgerald
Jan 6, 2023
Replies: 1 comment 4 replies
-
While you kinda can do this, the preferred way to update data is by using queue.write_buffer |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
cwfitzgerald
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While you kinda can do this, the preferred way to update data is by using queue.write_buffer