Open vorg opened 5 years ago
Submitting command with null or undefined pass will overwrite parent state and prevents inheriting framebuffer from state which will result in rendering to last used FBO instead of e.g. screen.
pass
const cmdState = this.mergeCommands(parentState, cmd, false)
https://github.com/pex-gl/pex-context/blob/master/index.js#L1093)
Submitting command with null or undefined
pass
will overwrite parent state and prevents inheriting framebuffer from state which will result in rendering to last used FBO instead of e.g. screen.https://github.com/pex-gl/pex-context/blob/master/index.js#L1093)