Jump to content

Render without Graphics


Gandi
 Share

Recommended Posts

Hi!

 

Do you know if its possible to use LE without calling Graphics(). By creating the OpenGL device by myself.

If yes, which Parameters do i have to use for the Pixelformat e.g.?

 

I just want to pass the HWND to my window to my application and then want to get the OpenGL window, which resizes with the Window.

Link to comment
Share on other sites

Yes, it's possible. See the CreateCustomBuffer() command example in the Wiki.

http://www.leadwerks.com/wiki/index.php?title=Buffers#CreateCustomBuffer

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...