Skip to main content

Class SDLWindowGL

OpenGL specialization of SimpleSDLWindow, for setting up additional necessary states during window creation.

Assembly: ImGuiScene.dll
View Source
Declaration
public class SDLWindowGL : SimpleSDLWindow, IDisposable

Inheritance: System.Object -> ImGuiScene.SimpleSDLWindow

Implements:
System.IDisposable

Methods

InitForRenderer(IRenderer)

Initialize this window for use with an OpenGL renderer. Sets necessary flags and attributes.

View Source
Declaration
protected override void InitForRenderer(IRenderer renderer)
Parameters
TypeNameDescription
ImGuiScene.IRendererrendererThe OpenGL renderer.

WindowCreationFlags(WindowCreateInfo)

Return the set of window flags necessary to create a window matching what is requested in <code class="paramref">createInfo</code>

View Source
Declaration
protected override SDL.SDL_WindowFlags WindowCreationFlags(WindowCreateInfo createInfo)
Returns

SDL2.SDL.SDL_WindowFlags: The full set of SDL_WindowFlags to use when creating this window.

Parameters
TypeNameDescription
ImGuiScene.WindowCreateInfocreateInfoThe requested creation parameters for the window.

Implements

  • System.IDisposable