Class SDLWindowGL
OpenGL specialization of SimpleSDLWindow, for setting up additional necessary states during window creation.
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ImGuiScene
Assembly: ImGuiScene.dll
Syntax
public class SDLWindowGL : SimpleSDLWindow, IDisposable
Methods
| Improve this Doc View SourceInitForRenderer(IRenderer)
Initialize this window for use with an OpenGL renderer. Sets necessary flags and attributes.
Declaration
protected override void InitForRenderer(IRenderer renderer)
Parameters
| Type | Name | Description |
|---|---|---|
| IRenderer | renderer | The OpenGL renderer. |
Overrides
| Improve this Doc View SourceWindowCreationFlags(WindowCreateInfo)
Return the set of window flags necessary to create a window matching what is requested in createInfo
Declaration
protected override SDL.SDL_WindowFlags WindowCreationFlags(WindowCreateInfo createInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| WindowCreateInfo | createInfo | The requested creation parameters for the window. |
Returns
| Type | Description |
|---|---|
| SDL2.SDL.SDL_WindowFlags | The full set of SDL_WindowFlags to use when creating this window. |
Overrides
Implements
System.IDisposable