leod / posh

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

Make creation of `gl::Framebuffer` more convenient #111

Closed leod closed 1 year ago

leod commented 1 year ago

Currently, if one wants to use a texture as a gl::Framebuffer function argument, one needs to do the following:

(&self.post_input.as_color_attachment()).into()

This does not look convenient.

leod commented 1 year ago

Done in https://github.com/leod/posh/pull/112.