Then you should read a C++ book to learn more about pointers and references. These are very important topics, and although I can give you the solution for this specific problem, it is important that you understand the concept in order to apply it to other situations.
To get a pointer to the texture, you need to take its address with the address-of operator.