is it able to directly draw to the backbuffer(or offScreen framebuffer) of vtkOpenGLRenderWindow by CUDA

  1. not OffScreen mode, is it to cudaGraphicsGLRegisterBuffer the backBuffer of vtkOpenGLRenderWindow?
  2. while OffScreen mode, is it to cudaGraphicsGLRegisterBuffer the framebuffer of vtkOpenGLRenderWindow? meanwhile using CreateHardwareOffScreenWindow, CreateHardwareOffScreenBuffers, BindHardwareOffScreenBuffers.
    Thanks!