What do you mean you don't have access to it? So what calls BindTexture()?