code: def attach_to_fbo(self):
          
          gl.glFramebufferTexture2DEXT(gl.GL_FRAMEBUFFER_EXT, self.attachment_point, self.target0, self.id, 0)
docs: Attach the texture to a bound FBO object, for rendering to texture.