PDA

View Full Version : Can I get texture address in memory from glBindTexture?



LangFox
11-01-2002, 03:02 AM
void glBindTexture(
GLenum target,
GLuint texture
);

If I get the para "texture", how can I get the texture address?

Thanks in advance.

Humus
11-01-2002, 04:57 AM
You can't. Just can however get a copy of the texture image with glGetTexImage().

[This message has been edited by Humus (edited 11-01-2002).]

vegark
11-01-2002, 05:00 AM
Originally posted by LangFox:
void glBindTexture(
GLenum target,
GLuint texture
);

If I get the para "texture", how can I get the texture address?

Thanks in advance.


Do you mean getting a pointer to the texture data in OpenGL?

In that case it's not possible.

--
brgds,

Vegar

LangFox
11-02-2002, 02:25 AM
OK, I will try other ways.
Thank you.