GlTexture = object texture*: GLuint size*: Vector2Ref
proc load(file: cstring; size: var Vector2Ref): GLuint {...}{.raises: [GLerror], tags: [].}
Loads image from file and returns texture ID.
Arguments:
proc load(file: cstring): GlTexture {...}{.raises: [GLerror], tags: [].}
Loads GL texture.