Q3TextureShader_GetTexture
You can use theQ3TextureShader_GetTexturefunction to get the texture associated with a texture shader.
TQ3Status Q3TextureShader_GetTexture ( TQ3ShaderObject shader, TQ3TextureObject *texture);
shader- A texture shader.
texture- On exit, the texture object currently associated with the specified texture shader.
DESCRIPTION
TheQ3TextureShader_GetTexturefunction returns, in thetextureparameter, the texture object currently associated with the texture shader specified by theshaderparameter.