Skip to content

Multi threads and bgfx #3009

Answered by bkaradzic
evilduck41 asked this question in Q&A
Discussion options

You must be logged in to vote

Where you call bgfx::init that becomes API thread. Read docs here:
https://bkaradzic.github.io/bgfx/internals.html#api-and-render-thread

You have to use encoder API in case you want to do draw calls from any other thread than API thread:
https://bkaradzic.github.io/bgfx/bgfx.html#encoder

Replies: 1 comment

Comment options

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