Texture.bindGL

Wraps SDL_GL_BindTexture which binds the texture in OpenGL

class Texture
@trusted
float[2]
bindGL
()

Return Value

Type: float[2]

texture width and height in OpenGL

Throws

dsdl2.SDLException if failed to bind

Meta