createGLWindow

Create an OpenGL window.

This only creates a window, not a GL context. The caller has to do that.

package
SDL_Window*
createGLWindow
@system nothrow @nogc
(
size_t w
,
size_t h
,
Flag!"fullscreen" fullscreen
)

Parameters

w
Type: size_t

Window width in pixels.

h
Type: size_t

Window height in pixels. fullscreen) = If true, create a fullscreen window.

Return Value

Type: SDL_Window*

An SDL window. It's the caller's responsibility to destroy the window.

Meta