Function setGLSwapInterval

Wraps SDL_GL_SetSwapInterval which gets the swap interval method for OpenGL

void setGLSwapInterval (
  GLSwapInterval interval
) @trusted;

Parameters

NameDescription
interval the dsdl2.GLSwapInterval method to use

Throws

dsdl2.SDLException if unable to set the swap interval