Skip to content

encodevertexbuffer after encodefilter in JS #358

Answered by zeux
meijuji202 asked this question in Q&A
Discussion options

You must be logged in to vote

please actually specify exact errors for questions like this. This report is not useful on its own and I have to spend time trying to figure out what could have possibly went wrong. One common mistake is that you need to wait for encoder.ready promise before actually using the encoder. Wrapping your example in encoder.ready.then(() => { ... }) makes it work.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zeux
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