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

**URL:** <https://discourse.vtk.org/t/is-it-able-to-directly-draw-to-the-backbuffer-or-offscreen-framebuffer-of-vtkopenglrenderwindow-by-cuda/11763>\
**Category:** Development\
**Created:** [June 19, 2023, 2:58pm UTC](https://discourse.vtk.org/t/is-it-able-to-directly-draw-to-the-backbuffer-or-offscreen-framebuffer-of-vtkopenglrenderwindow-by-cuda/11763 "2023-06-19T14:58:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gpu](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/g/e47c2d/32.png) [@gpu](https://discourse.vtk.org/u/gpu)\
**Post date:** [June 19, 2023, 2:58pm UTC](https://discourse.vtk.org/t/is-it-able-to-directly-draw-to-the-backbuffer-or-offscreen-framebuffer-of-vtkopenglrenderwindow-by-cuda/11763/1 "2023-06-19T14:58:39Z")

</div>

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!
