leod / posh

Type-Safe Graphics Programming with Functional Shaders
136 stars 2 forks source link

Make framebuffers implicit in draw calls #55

Closed leod closed 1 year ago

leod commented 1 year ago

Similar to what we did for VAOs. Have a single global framebuffer, and change attachments implicitly in draw calls.

I'm not sure yet if we should actually go there. It might not actually end up improving ergonomics.