Added texture parameter for opengl texture id

The TexNativeRefI param of the TextureElem now gives the OpenGL texture
id of a texture.