Are there any restrictions on what can be done within a beginFrame/endFrame block? #8286
Unanswered
AlexRamallo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Just wondering if something like the following is problematic since I didn't find any documentation on it:
I was implementing a simple debug rendering utility which creates short-lived entities similar to the snippet above. This works perfectly fine if the creation happens before beginFrame, but breaks if it happens after.It appears as though maybe some of the created buffers aren't fully uploaded before rendering begins or something, because the issue manifests as missing entities that occasionally flicker with random colors (material uses vertex colors + a custom tint attribute)EDIT: that turned out to be an unrelated issue, but I'm still curious about an answer to the question in the title :)
Beta Was this translation helpful? Give feedback.
All reactions