Function Texture.bindGL

Wraps SDL_GL_BindTexture which binds the texture in OpenGL

float[2] bindGL() @trusted;

Returns

texture width and height in OpenGL

Throws

dsdl2.SDLException if failed to bind