Rewrote TexParameter to TextureParameter and added a ITextureParameter.
Added RTTI to the TextureParameter + "Interface" for runtime type conversion when accessing the base interface.