Working with framebuffer wrapper template