How to use GLTEXTURE2D directly in C++

Hello everyone, I want to use a texture that was created by the other SDK and it’s a gl_texture_2d target, I’ve found a class called FSlateOpenGLElementProgram, and this class has a function called SetTexture, void FSlateOpenGLElementProgram::SetTexture( GLuint Texture, uint32 AddressU, uint32 AddressV ) but I don’t know how to use it, thanks!