Hello people/support.

I'm currently using the SDK to export a mesh which includes
texture and bumpmap data to .MTS and .MTX files.
( It is an exporter plugin for a program, so all this has to happen in C++ via the SDK. )
Currently I 'bake' the texture data directly into the Material by..
1) Making an IMTS_Texture
2) Allocating it some memory with tex->Allocate(...)
3) copying the image directly into its rasterizer bucket.
4) Then setting the texture to the material via SetDiffuseTexture method.
But for product-spec reasons, we cannot have the textures 'baked' into the model this way.
So what I would like to do is have the texture and bumpmap info stored as external files that are loaded automatically.
( via the .MTX)
I have been looking into ImageStreams but I just can't get them to work. (at my wits end with ImageStreams)
I also can't find any examples or documentation on how to do this.
Am I on the right track looking into ImageStreams? Or do I have to insert text directly into the .MTX file?
What I would really like is an example of some sort that I could follow as the SDK is pretty cryptic by itself. (no offence intended

)
Thanks in advance for any help.
Brian.