Replies: 2 comments 2 replies
-
Normally, you do not need to care exactly when If that's not sufficient, can you say more about your use case — exactly what operation needs to wait for the write? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@kpreid, yes, I know that texture can be used right after creation even without calling
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I'm reading documentation and just can't understand how to know when texture upload has finished.
As I understood we need to use
on_submitted_work_done
to check when submitted operation has finished. But it is said in thewrite_texture
documentation that:Taking this to account
on_submitted_work_done
will not wait forwrite_texture
but instead for some "random" previoussubmit
call because nosubmit
has actually happen.Is there any other way to know when
write_texture
has finished instead of submitting buffers manually? I really like the convinience of this function and no "multiple of 256" limitation.Beta Was this translation helpful? Give feedback.
All reactions