Hi everyone!
I use RawTexture as my texture and update the texture pixels by “.update” function.
But how to know the texture data has been udpated completely ?
I tried “.isReady()” but not work.
Thanks.
Hi everyone!
I use RawTexture as my texture and update the texture pixels by “.update” function.
But how to know the texture data has been udpated completely ?
I tried “.isReady()” but not work.
Thanks.
update is a synchronous operation in webgl so it will be updated right after the function has been called.
Thanks!