This command sets the texture mode for an object when the texture UV co-oridnates are outside the normal 0-1 range.
void dbSetObjectTexture(int iObject, int iMode, int iMipMaps)
iObject is the object number of the object you are changing
iMode is the texture mode. Using 0 tiles the texture over blank areas. 1 mirrors the textures over the blank areas, creating a seamless effect. 2 uses the edge pixel of the texture strecthed across th object. iMipMaps has something to do with that object's MipMaps. --Update--