Skip to content

How to use a frame buffer #2936

Answered by bkaradzic
gamecoder-nz asked this question in Q&A
Sep 29, 2022 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

In that code, you render into offscreen frame buffer and then you don't do anything with it... When you remove bgfx::setViewFrame, things are rendered into backbuffer which becomes visible after calling bgfx::frame.

See provided examples (many examples show framebuffer usage):
https://bkaradzic.github.io/bgfx/examples.html#hdr

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@gamecoder-nz
Comment options

@bkaradzic
Comment options

@bkaradzic
Comment options

@gamecoder-nz
Comment options

Answer selected by gamecoder-nz
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