Skip to content

multiple views vs calling bgfx::frame #2730

Answered by pezcode
npnp asked this question in Q&A
Discussion options

You must be logged in to vote

The output between those two options should be identical, but frame() has some added overhead (that may or may not be negligible depending on your case). If you're limited by the view count, consider raising the limit.

Specifically for your use case, you could also consider rendering to sub-sections of the same texture (or layers of an array texture), minimizing the number of framebuffers.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@npnp
Comment options

Answer selected by npnp
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