immersive-web/layers

Is a framebuffer with an invalid attachment invalid or incomplete?

asajeffrey opened this issue · 8 comments

Outside an rAF, the webgl textures associated with a layer are invalid (https://immersive-web.github.io/layers/#xrwebglsubimagetype). If such a texture is attached to a framebuffer, then what is its state outside an rAF? Also invalid? Or incomplete? Or...?

Related to #195 and #174.

Related to #195 and #174.

Yes, this is related to #174.
I believe the consensus was that those texture should be detached at frame end.

And it's the content's responsibility to reattach them at the next rAF?

And it's the content's responsibility to reattach them at the next rAF?

Yes

Okay, what about if the texture is bound with gl.bindTexture?

I believe so.
Do you want to take a stab at writing down the behavior? We could also work on it together.

Can do.

Unsurprisingly, the recent announcements from Mozilla have derailed this. I will probably have a bit more free time in a bit, but right now I'm afraid I'm running round like a headless chicken.