Hardware renderer frame

Started by Nurd, June 18, 2017, 09:24:59 PM

Previous topic - Next topic

Nurd

Hey,

is there any way to control/interact with the frame created by the hardware renderer? I have a fullscreen one and want it to move betweens multiple monitors and resize the buffer to the maximum scrren resolution. Or at least let it appear on a specific one in max size.
I could move it with the windows key combinations but then I dont know how to notice the movement or how to get the current screen. (I know how to do this in swing but I have no idea here)

I hope somebody can help me out. Thanks in advance!

AGP

I'm sure that getting the output buffer is not the best way to do what you're trying to do, but FrameBuffer.getOutputBuffer will give you the rendered image (although the docs claim that it will be slow for OpenGL).

EgonOlsen

Have a look here: http://legacy.lwjgl.org/javadoc/org/lwjgl/opengl/Display.html

That's what the hardware renderer uses. The methods in it are all static, so you don't need an instance of it.