Build a C++ Game Engine | Scion2D Ep.50 - ImGui DockSpace, OpenGL Framebuffers & Scene View

Опубликовано: 08 Июнь 2026
на канале: JADE-ite Game Development
2,374
60

🎮 Scion2D Update – Building an ImGui Editor with DockSpace and OpenGL Framebuffers!

Welcome back everyone! My name is Dustin, and in this video we continue our Dear ImGui integration and take a huge step toward building a full editor for the Scion2D Game Engine.

In this episode we create an ImGui DockSpace layout, build an OpenGL Framebuffer class, and render our game scene directly into an ImGui window.

This is the same general approach used by many modern game engines and editors, allowing the scene to be displayed inside a dockable editor interface instead of rendering directly to the application window.

Topics covered in this video:

• ImGui DockSpace
• Editor window layouts
• OpenGL Framebuffers
• Renderbuffers
• Scene View windows
• Rendering to textures
• OpenGL editor workflows
• Game engine editor architecture
• Dockable UI systems
• Scene rendering inside ImGui

Why this matters:

Using Framebuffers allows us to:

• Create Scene Views
• Create Game Views
• Create Asset Preview Windows
• Create Material Editors
• Create Render Targets
• Build a professional editor workflow

This is one of the major building blocks needed for a custom game engine editor.

Helpful Resources:

OpenGL Renderbuffers:
https://www.khronos.org/opengl/wiki/R...

glCreateRenderbuffers:
https://registry.khronos.org/OpenGL-R...

glRenderbufferStorage:
https://registry.khronos.org/OpenGL-R...

OpenGL Image Formats:
https://www.khronos.org/opengl/wiki/I...

glFramebufferTexture2D:
https://registry.khronos.org/OpenGL-R...

glFramebufferRenderbuffer:
https://registry.khronos.org/OpenGL-R...

📚 Documentation

Scion2D Documentation:

https://dwjclark11.github.io/Scion2D_...

The documentation is still a work in progress and will continue expanding as the engine grows.

👉 Coming Next

In future episodes we'll continue building out the editor and creating additional editor windows, tools, and workflows that will allow us to develop games directly inside Scion2D.

🔗 GitHub Repository
Explore the project here:
https://github.com/dwjclark11/Scion2D

💬 Join the Community
Chat, give feedback, or get help on Discord:
  / discord  

📺 Watch the Full Playlist
Catch all the videos in the series:
   • Build a 2D Game Engine in C++ | Scion2D Ga...  

👍 Like the video and subscribe for future game engine development tutorials, Dear ImGui tutorials, OpenGL rendering tutorials, Lua scripting content, and Modern C++ programming.

💬 Questions or ideas? Drop a comment below—I'd love to hear your thoughts and suggestions.