Function getGLAttribute

Wraps SDL_GL_GetAttribute which gets previously set OpenGL attributes for initialization

uint getGLAttribute (
  GLAttribute attribute
) @trusted;

Parameters

NameDescription
attribute the dsdl.GLAttribute whose value to get

Returns

value of the requested attribute

Throws

dsdl.SDLException if unable to get the attribute