code: func newFramebufferFromTexture(context *context, texture textureNative, width, height int) (*framebuffer, error) {
  	native, err := context.newFramebuffer(texture)
  	if err != nil {
  		return nil, err
  	}
  	return &framebuffer{
  		native: native,
  		width:  width,
  		height: height,
  	}, nil
  }
docs: // newFramebufferFromTexture creates a framebuffer from the given texture.