Qt draw into buffer instead of widget.
Unsolved
Game Development
-
is there any possibility to draw Qt elements(like button, menu and e.t.c) in buffer instead of widget?
for example: Create some QPushButton and store button pixel data into buffer and do not render on widget?
QPixmap pixmap(widget->size()); widget->render(&pixmap);
-
can I render into GPU buffer? by setting GLWidget or QOpenGLFramebuffer into QPaintDevice ?
@Alatriste
sorry, i personally don't have any experience with OpenGL.
Maybe someone else can answer this question for you?