getGLAttribute

Wraps SDL_GL_GetAttribute which gets previously set OpenGL attributes for initialization

@safe @trusted
uint
getGLAttribute

Parameters

attribute GLAttribute

the dsdl2.GLAttribute whose value to get

Return Value

Type: uint

value of the requested attribute

Throws

dsdl2.SDLException if unable to get the attribute

Meta