Topic: Using M_VARIABLE_TEXTURE_REF
I'm slowly trying to get this particle system working. I've confirmed that it compiles and runs nicely on both Windows and Linux (yay!) and I've started looking at texturing, however, I can't seem to work out how the M_VARIABLE_TEXTURE_REF works.
I have got a MTextureRef as a member, I've initialised it with m_Texture(0, "", false) as I would assume this would make an empty reference. I have then passed this variable back to the editor within getVariable, however, all I get is a section in the editor which says Texture, but won't let me do anything. Is M_VARIABLE_TEXTURE_REF just read only? Will I have to read a string and then load the texture from that?
As always, I'm still looking into this issue, so I might reply to myself in a bit with a "Eureka"